PageSourceSearch

https://app.cookieyes.com/assets/about-cookies.lazy-DidtS_RI.js

js cookieyes.com collected 2026-09-24 07:18:17 UTC 1,816 bytes, 1 lines download raw bytes

1import{d as y,u as C,r as n,hO as i,hP as _,j as o,hQ as f}from"./index-DMQ34O7E.js";import{T as j}from"./TextArea-CUd5MZtP.js";import{I as F}from"./InputField-B6_VxhBH.js";import{F as E}from"./FooterSection-x2t89AgQ.js";import"./quill.snow-B58pZGWR.js";const I=y("/cookie-policy/about-cookies")({component:T});function T(){const{t:h}=C(),[r,x]=n.useState({title:!1,description:!1}),d=i(t=>t.defaultLanguage),e=i(t=>t.getContent(d)),l=i(t=>t.updateContentField),p=i(t=>t.setIsContentEdited),m=i(t=>t.setHasUnsavedChanges),s=n.useCallback((t,a)=>{const c=a==="description"?_(t):!(t!=null&&t.trim());x(g=>({...g,[a]:c}))},[]),u=n.useCallback((t,a)=>c=>{l(d,t,c),p(!0),m(!0),s(c,a)},[d,l,p,m,s]),k=u("about_cookies_title","title"),b=u("about_cookies_description","description");return n.useEffect(()=>{s((e==null?void 0:e.about_cookies_title)||"","title"),s((e==null?void 0:e.about_cookies_description)||"","description")},[e==null?void 0:e.about_cookies_title,e==null?void 0:e.about_cookies_description,s]),o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"gap-6 p-6 grid grid-cols-12 justify-between",children:o.jsxs("div",{className:"col-span-9",children:[o.jsx("h6",{className:"text-2xl font-semibold font-heading text-secondary-dark mb-6",children:h("cookiePolicy.aboutCookies.title")}),o.jsx("div",{className:"mb-6",children:o.jsx(F,{label:"cookiePolicy.heading",value:e==null?void 0:e.about_cookies_title,onChange:k,className:"text-md text-secondary-dark",error:r.title?"This field cannot be empty.":void 0})}),o.jsx("div",{children:o.jsx(j,{label:"cookiePolicy.description",value:e==null?void 0:e.about_cookies_description,onChange:b,className:"text-md text-secondary-dark",pTagStyles:f,error:r.description?"This field cannot be empty.":void 0})})]})}),o.jsx(E,{})]})}export{I as Route,T as RouteComponent};

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.