PageSourceSearch

https://aquaticadigital.com/assets/CookieConsent-iu0cceRr.js

js aquaticadigital.com collected 2026-10-09 23:22:42 UTC 2,508 bytes, 1 lines download raw bytes

1import{j as e,A as c,m as n}from"./index-Drs0qtQL.js";import{b as s,c1 as r,a5 as d,b8 as x,ah as m}from"./vendor-Cl8Ad04H.js";import"./firebase-BPm7gD47.js";const u=()=>{const[a,t]=s.useState(!1);s.useEffect(()=>{if(!localStorage.getItem("cookie-consent")){const i=setTimeout(()=>t(!0),1500);return()=>clearTimeout(i)}},[]);const o=()=>{localStorage.setItem("cookie-consent","accepted"),t(!1)},l=()=>{localStorage.setItem("cookie-consent","declined"),t(!1)};return e.jsx(c,{children:a&&e.jsx(n.div,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},className:"fixed bottom-6 left-6 right-6 md:left-auto md:right-8 md:max-w-md z-[100]",children:e.jsxs("div",{className:"bg-white border border-gray-100 shadow-2xl rounded-2xl p-6 relative overflow-hidden group",children:[e.jsx("div",{className:"absolute top-0 left-0 w-1 h-full bg-[#1f7b72]"}),e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"shrink-0",children:e.jsx("div",{className:"w-12 h-12 bg-teal-50 rounded-xl flex items-center justify-center text-[#1f7b72]",children:e.jsx(r,{className:"w-6 h-6"})})}),e.jsxs("div",{className:"flex-1 space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h3",{className:"text-lg font-black tracking-tight text-gray-900",children:"Cookie Settings"}),e.jsx("button",{onClick:()=>t(!1),className:"p-1 text-gray-400 hover:text-gray-900 transition-colors",children:e.jsx(d,{className:"w-4 h-4"})})]}),e.jsx("p",{className:"text-sm text-gray-500 leading-relaxed",children:'We use cookies to improve your experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies.'}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 pt-2",children:[e.jsx("button",{onClick:o,className:"flex-1 py-2.5 px-4 bg-[#1f7b72] text-white text-sm font-bold rounded-xl hover:bg-[#165c55] transition-all shadow-sm hover:shadow-md",children:"Accept All"}),e.jsx("button",{onClick:l,className:"flex-1 py-2.5 px-4 bg-gray-50 text-gray-600 text-sm font-bold rounded-xl hover:bg-gray-100 transition-all",children:"Essential Only"})]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-[10px] text-gray-400 font-medium pt-1",children:[e.jsx(x,{className:"w-3 h-3"}),e.jsxs("span",{children:["Your privacy is our priority. See our"," ",e.jsx(m,{to:"/policies/privacy",className:"text-[#1f7b72] hover:underline font-bold",children:"Privacy Policy"}),"."]})]})]})]})]})})})};export{u 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.