1import{_ as B}from"./Db8mqDdF.js";import{u as P,r as d,a3 as g,h as V,i as j,b as I,a4 as M,o as S,j as D,a5 as m,a6 as y,e as w,f as t,k as f,v as C,d as x,a7 as R,a8 as z,T as K,q as U}from"./C4Lj2MoL.js";import W from"./C9FoGnVC.js";const Y={class:"pointer-events-none fixed inset-0 z-50 h-dvh w-full lg:min-h-screen"},F={class:"relative h-full"},J={class:"pointer-events-auto absolute inset-x-0 bottom-64 top-auto w-full p-20 md:w-400 lg:inset-x-16 lg:left-32"},G={class:"pointer-events-none absolute -inset-y-64 inset-x-[-80px] translate-y-16"},H={class:"relative flex flex-col flex-wrap items-center justify-around gap-8"},Q={class:"flex items-center gap-16"},X={class:"container relative"},Z={class:"relative"},ee={class:"flex w-full flex-col gap-32 text-left"},te={class:"flex w-full cursor-pointer items-center justify-between"},oe={class:"mb-64 flex items-center gap-16 py-32"},re={__name:"CookieConsent",setup(se){const{$bus:p,$gsap:k}=P(),_=d(!0),u=g("essential-consent",{maxAge:31556952}),i=g("analytics-consent",{maxAge:31556952}),E=g("age-consent",{maxAge:31556952}),a=d(!1),c=d(!1);let o=!0;const v=()=>{window._qevents=window._qevents||[],function(){const n=document.createElement("script");n.src=(document.location.protocol=="https:"?"https://secure":"http://edge")+".quantserve.com/quant.js",n.async=!0,n.type="text/javascript";
1const e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(n,e)}(),window._qevents.push({qacct:"p-VEzFm2VNWNwJM",labels:"_fp.event.PageView"})},N=()=>{v(),u.value=!0,i.value=!0,a.value=!1},T=()=>{u.value=!1,i.value=!1,E.value=!1,a.value=!0,window.location.reload()},A=()=>{u.value=!0,a.value=!1,o?(v(),i.value=!0):(i.value=!1,window.location.reload()),c.value=!1},b=d(null);let r,s;const h=()=>{r==null||r.play()},$=()=>{r.reverse().then(()=>{a.value=!1,s==null||s.revert()})};return V(()=>{p.$on("enableTriggers",h)}),j(()=>{s==null||s.revert(),p.$off("enableTriggers",h)}),I(()=>{_.value&&(p.$on("modal",n=>{n==="cookie_consent"&&(c.value=!0)}),u.value?i.value?(v(),o=!0):o=!1:(a.value=!0,M(()=>{s=k.context(()=>{r=k.timeline({defaults:{ease:"power4.inOut"},paused:!0}),r.from(b.value,{autoAlpha:0,duration:1},1)},b.value)})))}),(n,e)=>{const O=B,q=U,L=W;return S(),D("div",Y,[m(t("div",{ref_key:"elRef",ref:b,class:"container relative h-full"},[t("div",F,[t("div",J,[t("div",G,[f(O,{format:"webp",src:"/img/white-paint.png","img-attrs":{class:"w-full h-full"}})]),t("div",H,[e[8]||(e[8]=t("p",{class:"font-wide text-[22px]"},"COOKIE POLICY",-1)),t("p",null,[e[7]||(e[7]=C(" We use cookies to improve your experience. ")),f(q,{to:"/privacy",class:"underline"},{default:x(()=>e[6]||(e[6]=[C("Policy.")])),_:1})]),t("div",Q,[t("button",{class:"h-48 w-120 border border-gold bg-offwhite duration-300 hover:border-black",onClick:e[0]||(e[0]=l=>$())}," DECLINE "),t("button",{class:"h-40 w-120 border border-offwhite bg-gold outline outline-4 outline-offset-[-2] outline-gold duration-300 hover:bg-black hover:text-white hover:outline-black",onClick:e[1]||(e[1]=l=>N())}," ACCEPT ")])])])])],512),[[y,w(a)]]),f(K,{name:"fade"},{default:x(()=>[m(f(L,{class:"pointer-events-auto",onCloseModal:e[5]||(e[5]=l=>c.value=!1)},{default:x(()=>[t("div",X,[t("div",Z,[e[12]||(e[12]=t("p",{class:"text-orange pb-32 font-wide lg:text-[43px]"},"COOKIE CONSENT",-1)),e[13]||(e[13]=t("p",null,"we use cookies to improve your web experience. Policy.",-1)),t("div",ee,[e[11]||(e[11]=t("div",null,[t("label",{class:"flex w-full cursor-pointer items-center justify-between"},[t("p",{class:"ext-[12px] text-orange tracking-[0.5em]"},"ESSENTIAL"),t("input",{checked:"",disabled:"",type:"checkbox",class:"focus:ring-blue/20 text-orange/20 cursor-not-allowed rounded-sm border-2 border-gray-400 focus:border-gray-400"})]),t("p",null,"Essential cookies are required for the site to function.")],-1)),t("div",null,[t("label",te,[e[9]||(e[9]=t("p",{class:"ext-[12px] text-orange tracking-[0.5em]"},"ANALYTICS",-1)),m(t("input",{"onUpdate:modelValue":e[2]||(e[2]=l=>R(o)?o.value=l:o=l),type:"checkbox",class:"focus:ring-blue text-orange cursor-pointer rounded-sm border-2 border-gray-400 focus:border-gray-400"},null,512),[[z,w(o)]])]),e[10]||(e[10]=t("p",null,"Optional analytics cookies allow us to track how the site is performing and who our users are.",-1))])]),t("div",oe,[t("button",{class:"h-48 w-120 border border-gold bg-offwhite duration-300 hover:border-black",onClick:e[3]||(e[3]=l=>T())}," DELETE ALL "),t("button",{class:"h-40 w-120 border border-offwhite bg-gold outline outline-4 outline-offset-[-2] outline-gold duration-300 hover:bg-black hover:text-white hover:outline-black",onClick:e[4]||(e[4]=l=>A())}," ACCEPT ")])])])]),_:1},512),[[y,w(c)]])]),_:1})])}}};export{re 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.