"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6277],{5917:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(71847).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},15870:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(71847).A)("settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},17910:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(71847).A)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},30814:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(71847).A)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])},66277:(e,a,t)=>{t.r(a),t.d(a,{default:()=>k});var r=t(95155),s=t(12115),i=t(17910),n=t(80534),l=t(30814),c=t(15870),o=t(65229),d=t(5917),x=t(26497),m=t(64555),b=t(16058),p=t(12976);function k(){let{showManageModal:e,closeManageModal:a,updateConsent:t,consent:k}=(0,b.u)(),{t:h}=(0,p.k)(),[g,y]=(0,s.useState)({essential:!0,analytics:!1,marketing:!1,preferences:!1});(0,s.useEffect)(()=>{k&&y(k)},[k]);let u=[{key:"essential",icon:i.A,title:h("cookie_consent.manage.categories.essential.title","Essential Cookies"),description:h("cookie_consent.manage.categories.essential.description","Required for the website to function properly. These cannot be disabled."),alwaysActive:!0},{key:"analytics",icon:n.A,title:h("cookie_consent.manage.categories.analytics.title","Analytics Cookies"),description:h("cookie_consent.manage.categories.analytics.description","Help us understand how visitors interact with our website to improve our services."),alwaysActive:!1},{key:"marketing",icon:l.A,title:h("cookie_consent.manage.categories.marketing.title","Marketing Cookies"),description:h("cookie_consent.manage.categories.marketing.description","Used to deliver personalized advertisements and track campaign performance."),alwaysActive:!1},{key:"preferences",icon:c.A,title:h("cookie_consent.manage.categories.preferences.title","Preference Cookies"),description:h("cookie_consent.manage.categories.preferences.description","Remember your settings and preferences for a more personalized experience."),alwaysActive:!1}];return(0,r.jsx)(x.N,{children:e&&(0,r.jsxs)("div",{className:"fixed inset-0 z-[110] flex items-center justify-center p-4",children:[(0,r.jsx)(m.P.div,{animate:{opacity:1},className:"absolute inset-0 bg-black/40 backdrop-blur-md",exit:{opacity:0},initial:{opacity:0},onClick:a}),(0,r.jsxs)(m.P.div,{animate:{opacity:1,scale:1,y:0},className:"relative bg-brand-surface/95 dark:bg-brand-surfacedark/95 backdrop-blur-xl rounded-[2rem] shadow-[0_20px_50px_rgba(0,0,0,0.3)] border border-brand-200/30 dark:border-brand-800/30 max-w-2xl w-full max-h-[90vh] overflow-hidden flex flex-col",exit:{opacity:0,scale:.95,y:20},initial:{opacity:0,scale:.95,y:20},transition:{type:"spring",damping:25,stiffness:300},children:[(0,r.jsxs)("div",{className:"flex items-center justify-between p-6 md:p-8 border-b border-brand-200/20 dark:border-brand-800/20",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-2xl font-black tracking-tight text-text-light dark:text-text-lightdark",children:h("cookie_consent.manage.title","Cookie Preferences")}),(0,r.jsx)("p",{className:"text-sm text-text-subtle dark:text-text-subtledark mt-1 font-medium",children:h("cookie_consent.manage.description","Customize how we use cookies to improve your experience.")})]}),(0,r.jsx)("button",{"aria-label":h("cookie.closeModal","Close modal"),className:"text-text-subtle/50 hover:text-text-subtle dark:text-text-subtledark/50 dark:hover:text-text-subtledark transition-all p-2 rounded-full hover:bg-black/5 dark:hover:bg-white/5 active:scale-90",onClick:a,children:(0,r.jsx)(o.A,{className:"w-6 h-6"})})]}),(0,r.jsx)("div",{className:"p-6 md:p-8 overflow-y-auto custom-scrollbar",children:(0,r.jsx)("div",{className:"space-y-4",children:u.map(e=>{let a=e.icon,t=g[e.key];return(0,r.jsx)("div",{className:`group border transition-all duration-300 rounded-3xl p-5 ${t?"border-brand-primary/30 bg-brand-primary/5 dark:bg-brand-primary/10 shadow-sm":"border-brand-200/20 dark:border-brand-800/20 hover:border-brand-primary/20"}`,children:(0,r.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,r.jsxs)("div",{className:"flex items-start gap-4 flex-1",children:[(0,r.jsx)("div",{className:`p-3 rounded-2xl transition-colors ${t?"bg-brand-primary text-white":"bg-brand-primary/10 text-brand-primary"}`,children:(0,r.jsx)(a,{className:"w-6 h-6"})}),(0,r.jsxs)("div",{className:"flex-1 pt-1",children:[(0,r.jsxs)("h3",{className:"font-bold text-text-light dark:text-text-lightdark mb-1 flex items-center gap-2",children:[e.title,e.alwaysActive&&(0,r.jsx)("span",{className:"text-[10px] uppercase tracking-wider font-black bg-brand-primary/10 text-brand-primary px-2 py-0.5 rounded-full",children:h("cookie_consent.manage.categories.essential.always","Required")})]}),(0,r.jsx)("p",{className:"text-sm text-text-subtle dark:text-text-subtledark leading-relaxed font-medium",children:e.description})]})]}),!e.alwaysActive&&(0,r.jsx)("div",{className:"flex items-center pt-1",children:(0,r.jsx)("button",{"aria-label":`Toggle ${e.title}`,className:`relative inline-flex h-7 w-12 items-center rounded-full transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-brand-primary/20 ${t?"bg-brand-primary":"bg-brand-200/50 dark:bg-brand-800/50"}`,onClick:()=>{var a;"essential"!==(a=e.key)&&y(e=>({...e,[a]:!e[a]}))},children:(0,r.jsx)("span",{className:`inline-flex h-5 w-5 transform items-center justify-center rounded-full bg-white shadow-md transition-all duration-300 ${t?"translate-x-6":"translate-x-1"}`,children:t&&(0,r.jsx)(d.A,{className:"w-3 h-3 text-brand-primary",strokeWidth:4})})})})]})},e.key)})})}),(0,r.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4 p-6 md:p-8 border-t border-brand-200/20 dark:border-brand-800/20 bg-black/5 dark:bg-white/5",children:[(0,r.jsx)("button",{className:"text-sm font-bold text-text-subtle dark:text-text-subtledark hover:text-brand-primary transition-colors px-4 py-2",onClick:()=>{let e={essential:!0,analytics:!1,marketing:!1,preferences:!1};y(e),t(e)},children:h("cookie_consent.manage.rejectAll","Decline Optional")}),(0,r.jsxs)("div",{className:"flex gap-3 w-full md:w-auto",children:[(0,r.jsx)("button",{className:"flex-1 md:flex-none px-6 py-3 bg-black/5 dark:bg-white/5 hover:bg-black/10 dark:hover:bg-white/10 text-text-light dark:text-text-lightdark text-sm font-bold rounded-2xl transition-all active:scale-95",onClick:()=>{let e={essential:!0,analytics:!0,marketing:!0,preferences:!0};y(e),t(e)},children:h("cookie_consent.manage.acceptAll","Accept All")}),(0,r.jsx)("button",{className:"flex-1 md:flex-none px-8 py-3 bg-brand-primary hover:bg-brand-primarydark text-white text-sm font-black rounded-2xl shadow-lg shadow-brand-primary/20 transition-all active:scale-95",onClick:()=>{t(g)},children:h("cookie_consent.manage.savePreferences","Save Preferences")})]})]})]})]})})}},80534:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(71847).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])}}]);