PageSourceSearch

https://www.datastone.com.br/assets/CookiePolicy-CkFwr2Rq.js

js datastone.com.br collected 2026-10-09 00:35:56 UTC 14,649 bytes, 7 lines download raw bytes

1import{j as e}from"./vendor-ui-DJ0uk1Dj.js";import{c as s,b as a,m as t,a as r,ad as i,ay as n,o as c,C as o,W as l,B as d,G as m,q as x,r as p,s as h,ao as y,as as j,d as u,ak as g,g as f}from"./index-B0lT0ySK.js";import{L as b}from"./vendor-router-D2HGToYA.js";import{T as N}from"./TrustCenterBanner-BwFyXRaO.js";import{D as w}from"./contact-CY7WBe_i.js";import{r as v}from"./vendor-react-B6WK6lOC.js";import"./switch-C2XKKHkg.js";import"./dialog-CPzL0hwU.js";import{m as k}from"./proxy-BO4g_Lr0.js";import{CookiePreferencesModal as C}from"./CookiePreferencesModal-m-jSIsb0.js";import{C as V}from"./circle-x-BeZsJhKX.js";import{C as I}from"./calendar-DWsSqBMn.js";import{A as T,a as A,b as M,c as $}from"./accordion-Bry1VirJ.js";import{C as B}from"./clock-BG4VkXxU.js";import{S as D}from"./share-2-D6ABoTHC.js";import{M as S}from"./megaphone-D4IGlUVG.js";import{C as E}from"./chart-column-BcppgUfF.js";import"./vendor-query-hczrzr_v.js";import"./vendor-i18n-BWQUpMHj.js";import"./arrow-left-UgtbMGqb.js";import"./index-BGVX0-qn.js";
2/**
3 * @license lucide-react v0.462.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */function P({categoryKey:s,icon:n,isEnabled:c,delay:o=0}){const{t:l}=a("cookies"),[d,m]=v.useState(!1),x=t(),p=l(`types.${s}.examples`,{returnObjects:!0}),h=Array.isArray(p)?p:[],y=x?{}:{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:o/1e3,duration:.4}};return e.jsxs(k.div,{...y,className:"rounded-xl border border-border bg-card overflow-hidden",children:[e.jsxs("button",{onClick:()=>m(!d),className:"w-full p-6 flex items-start gap-4 text-left hover:bg-muted/30 transition-colors",children:[e.jsx("div",{className:r("flex h-12 w-12 items-center justify-center rounded-xl flex-shrink-0",c?"bg-primary/10":"bg-muted"),children:e.jsx(n,{className:r("h-6 w-6",c?"text-primary":"text-muted-foreground")})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("h3",{className:"font-semibold text-foreground",children:l(`types.${s}.title`)}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:r("text-xs px-2 py-1 rounded-full",c?"bg-green-500/10 text-green-600":"bg-muted text-muted-foreground"),children:l(c?"preferences.enabled":"preferences.disabled")}),e.jsx(i,{className:r("h-5 w-5 text-muted-foreground transition-transform",d&&"rotate-180")})]})]}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:l(`types.${s}.description`)})]})]}),e.jsx(k.div,{initial:!1,animate:{height:d?"auto":0},className:"overflow-hidden",children:e.jsxs("div",{className:"px-6 pb-6 pt-2 border-t border-border bg-muted/20",children:[e.jsx("h4",{className:"text-sm font-medium text-foreground mb-3",children:l("types.examplesTitle")}),e.jsx("ul",{className:"space-y-2",children:h.map((s,a)=>e.jsxs("li",{className:"text-sm text-muted-foreground flex items-center gap-2",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-primary flex-shrink-0"}),String(s)]},a))}),e.jsx("p",{className:"text-sm text-muted-foreground mt-4 pt-4 border-t border-border",children:l(`types.${s}.details`)})]})})]})}function q(){const{t:s,i18n:r}=a("cookies"),{preferences:i,hasConsented:m,getExpirationDate:x,isNearExpiration:p,getDaysUntilExpiration:h}=n(),[y,j]=v.useState(!1),u=t()?{}:{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0}},g=[{key:"necessary",enabled:!0},{key:"analytics",enabled:i.analytics},{key:"marketing",enabled:i.marketing},{key:"social",enabled:i.social}],f=x(),b=h(),N=p();return e.jsxs(e.Fragment,{children:[e.jsxs(k.div,{...u,className:"rounded-2xl border border-primary/20 bg-primary/5 p-6 md:p-8",children:[e.jsxs("div",{className:"flex items-start gap-4 mb-6",children:[e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-xl bg-primary/10 flex-shrink-0",children:e.jsx(c,{className:"h-6 w-6 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-semibold text-foreground",children:s("preferences.title")}),e.jsx("p",{className:"text-muted-foreground mt-1",children:s("preferences.description")})]})]}),m()?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid gap-3 sm:grid-cols-2 mb-6",children:g.map(a=>e.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-lg bg-background border border-border",children:[a.enabled?e.jsx(o,{className:"h-5 w-5 text-green-600 flex-shrink-0"}):e.jsx(V,{className:"h-5 w-5 text-muted-foreground flex-shrink-0"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"font-medium text-foreground text-sm",children:s(`types.${a.key}.title`)}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a.enabled?s("preferences.enabled"):s("preferences.disabled")})]})]},a.key))}),f&&e.jsxs("div",{className:"flex items-center gap-2 p-3 rounded-lg mb-4 "+(N?"bg-amber-500/10 border border-amber-500/20":"bg-muted/50 border border-border"),children:[N?e.jsx(l,{className:"h-4 w-4 text-amber-600 flex-shrink-0"}):e.jsx(I,{className:"h-4 w-4 text-muted-foreground flex-shrink-0"}),e.jsx("p",{className:"text-sm "+(N?"text-amber-700 dark:text-amber-400":"text-muted-foreground"),children:N&&null!==b?s("preferences.nearExpiration",{days:b}):s("preferences.expiresOn",{date:(w=f,w.toLocaleDateString(r.language,{day:"2-digit",month:"long",year:"numeric"}))})})]}),e.jsxs(d,{onClick:()=>j(!0),className:"gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("preferences.changeButton")]})]}):e.jsxs("div",{className:"text-center py-8",children:[e.jsx("p",{className:"text-muted-foreground mb-4",children:s("preferences.noConsent")}),e.jsx(d,{onClick:()=>j(!0),children:s("preferences.configureNow")})]})]}),e.jsx(C,{open:y,onOpenChange:j})]});var w}const O=[{key:"chrome",icon:s("Chrome",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]])},{key:"firefox",icon:m},{key:"safari",icon:m},{key:"edge",icon:m}];function F(){const{t:s}=a("cookies"),r=t(),i=r?{}:{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0}};return e.jsx(k.div,{...i,className:"grid gap-4 sm:grid-cols-2",children:O.map((a,t)=>{const i=a.icon,n=r?{}:{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1*t}};return e.jsxs(k.div,{...n,className:"rounded-xl border border-border bg-card p-5",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-muted",children:e.jsx(i,{className:"h-5 w-5 text-muted-foreground"})}),e.jsx("h4",{className:"font-semibold text-foreground",children:s(`howToManage.browsers.${a.key}.name`)})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s(`howToManage.browsers.${a.key}.instructions`)})]},a.key)})})}
7const K={necessary:u,analytics:E,marketing:S,social:D};function L(){const{t:s}=a("cookies"),{t:r}=a("common"),{preferences:i,openBanner:o}=n(),l=t(),m=s("faq.items",{returnObjects:!0}),u=Array.isArray(m)?m:[];return e.jsxs(x,{children:[e.jsx(p,{title:s("seo.title"),description:s("seo.description"),canonical:"/politica-cookies",keywords:["cookies","política de cookies","privacidade","LGPD","consentimento","rastreamento","analytics","marketing"]}),e.jsx(h,{schemas:y(r)}),e.jsx("div",{className:"container-ds pt-4",children:e.jsx(N,{currentPage:"cookies"})}),e.jsx("section",{className:"section-spacing bg-gradient-to-b from-primary-light to-background",children:e.jsx("div",{className:"container-ds",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsxs(k.div,{initial:l?{}:{opacity:0,y:20},animate:l?{}:{opacity:1,y:0},className:"mb-6 inline-flex items-center gap-2 rounded-full bg-primary/10 px-4 py-2",children:[e.jsx(j,{className:"h-4 w-4 text-primary"}),e.jsx("span",{className:"text-body-sm font-medium text-primary",children:s("hero.badge")})]}),e.jsx(k.h1,{initial:l?{}:{opacity:0,y:20},animate:l?{}:{opacity:1,y:0},transition:l?{duration:0}:{delay:.1},className:"text-h1-mobile lg:text-h1 text-foreground mb-6",children:s("hero.title")}),e.jsx(k.p,{initial:l?{}:{opacity:0,y:20},animate:l?{}:{opacity:1,y:0},transition:l?{duration:0}:{delay:.2},className:"text-body-lg text-muted-foreground mb-4",children:s("hero.description")}),e.jsxs(k.p,{initial:l?{}:{opacity:0,y:20},animate:l?{}:{opacity:1,y:0},transition:l?{duration:0}:{delay:.3},className:"text-body-sm text-muted-foreground mb-8",children:[e.jsx(B,{className:"inline h-4 w-4 mr-1"}),s("hero.lastUpdate")]}),e.jsxs(k.div,{initial:l?{}:{opacity:0,y:20},animate:l?{}:{opacity:1,y:0},transition:l?{duration:0}:{delay:.4},className:"flex flex-wrap gap-4 justify-center",children:[e.jsxs(d,{onClick:o,className:"gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("hero.ctaPrimary")]}),e.jsx(d,{variant:"outline",asChild:!0,children:e.jsx("a",{href:`mailto:${w}`,children:s("hero.ctaSecondary")})})]})]})})}),e.jsx("section",{className:"section-spacing",children:e.jsx("div",{className:"container-ds",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsxs(k.div,{initial:l?{}:{opacity:0,y:20},whileInView:l?{}:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsx("h2",{className:"text-h2 text-foreground mb-4",children:s("whatAreCookies.title")}),e.jsx("p",{className:"text-body-lg text-muted-foreground",children:s("whatAreCookies.description")})]}),e.jsx(k.div,{initial:l?{}:{opacity:0,y:20},whileInView:l?{}:{opacity:1,y:0},viewport:{once:!0},className:"rounded-2xl border border-border bg-card p-6 md:p-8",children:e.jsx("ul",{className:"space-y-4",children:(()=>{const a=s("whatAreCookies.items",{returnObjects:!0});return(Array.isArray(a)?a:[]).map((s,a)=>e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-primary/10 text-primary text-sm font-medium flex-shrink-0 mt-0.5",children:a+1}),e.jsx("span",{className:"text-foreground",children:String(s)})]},a))})()})})]})})}),e.jsx("section",{className:"section-spacing bg-muted/30",children:e.jsxs("div",{className:"container-ds",children:[e.jsxs(k.div,{initial:l?{}:{opacity:0,y:20},whileInView:l?{}:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsx("h2",{className:"text-h2 text-foreground mb-4",children:s("types.title")}),e.jsx("p",{className:"text-body-lg text-muted-foreground max-w-2xl mx-auto",children:s("types.description")})]}),e.jsx("div",{className:"grid gap-4 max-w-3xl mx-auto",children:["necessary","analytics","marketing","social"].map((s,a)=>e.jsx(P,{categoryKey:s,icon:K[s],isEnabled:"necessary"===s||i[s],delay:100*a},s))})]})}),e.jsx("section",{className:"section-spacing",children:e.jsx("div",{className:"container-ds",children:e.jsxs("div",{className:"max-w-2xl mx-auto",children:[e.jsx(k.div,{initial:l?{}:{opacity:0,y:20},whileInView:l?{}:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-8",children:e.jsx("h2",{className:"text-h2 text-foreground mb-4",children:s("preferences.sectionTitle")})}),e.jsx(q,{})]})})}),e.jsx("section",{className:"section-spacing bg-muted/30",children:e.jsx("div",{className:"container-ds",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsxs(k.div,{initial:l?{}:{opacity:0,y:20},whileInView:l?{}:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsx("h2",{className:"text-h2 text-foreground mb-4",children:s("howToManage.title")}),e.jsx("p",{className:"text-body-lg text-muted-foreground",children:s("howToManage.description")})]}),e.jsxs(k.div,{initial:l?{}:{opacity:0,y:20},whileInView:l?{}:{opacity:1,y:0},viewport:{once:!0},className:"mb-8",children:[e.jsx("h3",{className:"text-h4 text-foreground mb-4",children:s("howToManage.viaBanner")}),e.jsx("p",{className:"text-muted-foreground mb-4",children:s("howToManage.viaBannerDe
7sc")}),e.jsxs(d,{onClick:o,variant:"outline",className:"gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("howToManage.openPreferences")]})]}),e.jsxs(k.div,{initial:l?{}:{opacity:0,y:20},whileInView:l?{}:{opacity:1,y:0},viewport:{once:!0},children:[e.jsx("h3",{className:"text-h4 text-foreground mb-4",children:s("howToManage.viaBrowser")}),e.jsx("p",{className:"text-muted-foreground mb-6",children:s("howToManage.viaBrowserDesc")}),e.jsx(F,{})]})]})})}),e.jsx("section",{className:"section-spacing",children:e.jsx("div",{className:"container-ds",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsxs(k.div,{initial:l?{}:{opacity:0,y:20},whileInView:l?{}:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full bg-primary/10 px-4 py-2 mb-4",children:[e.jsx(g,{className:"h-4 w-4 text-primary"}),e.jsx("span",{className:"text-body-sm font-medium text-primary",children:"FAQ"})]}),e.jsx("h2",{className:"text-h2 text-foreground",children:s("faq.title")})]}),e.jsx(T,{type:"single",collapsible:!0,className:"space-y-4",children:u.map((s,a)=>e.jsxs(A,{value:`item-${a}`,className:"rounded-xl border border-border bg-card px-6",children:[e.jsx(M,{className:"text-left hover:no-underline py-5",children:e.jsx("span",{className:"text-foreground font-medium",children:s.question})}),e.jsx($,{className:"text-muted-foreground pb-5",children:s.answer})]},a))})]})})}),e.jsx("section",{className:"section-spacing bg-muted/30",children:e.jsx("div",{className:"container-ds",children:e.jsxs(k.div,{initial:l?{}:{opacity:0,y:20},whileInView:l?{}:{opacity:1,y:0},viewport:{once:!0},className:"max-w-2xl mx-auto text-center",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full bg-primary/10 px-4 py-2 mb-4",children:[e.jsx(f,{className:"h-4 w-4 text-primary"}),e.jsx("span",{className:"text-body-sm font-medium text-primary",children:s("contact.badge")})]}),e.jsx("h2",{className:"text-h2 text-foreground mb-4",children:s("contact.title")}),e.jsx("p",{className:"text-body-lg text-muted-foreground mb-8",children:s("contact.description")}),e.jsxs("div",{className:"flex flex-wrap gap-4 justify-center",children:[e.jsx(d,{asChild:!0,children:e.jsx("a",{href:`mailto:${w}`,children:s("contact.emailDpo")})}),e.jsx(d,{variant:"outline",asChild:!0,children:e.jsx(b,{to:"/canal-transparencia",children:s("contact.transparencyChannel")})})]})]})})})]})}export{L 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.