1import{r as e}from"./index.89687b0f.js";import{CookieSettings as t}from"./CookieSettings.667ea56f.js";import{M as o}from"./Modal.6bdf4b9e.js";import{b as s,s as n,a as r}from"./settings.82b18f66.js";import{t as i}from"./trans.37eafbf5.js";import{j as a,a as l}from"./jsx-runtime.febafdbc.js";import"./_commonjsHelpers.442273fa.js";import"./main.b3ff588c.js";import"./Checkbox.a8d8b45e.js";import"./index.401dcd69.js";import"./useUpdate.3ddfe012.js";import"./util.e27bf6cf.js";import"./index.e8cdb69a.js";import"./vanilla.b328418a.js";import"./store.d0f80b2c.js";import"./js.cookie.68bcad1a.js";function m(m){const c=e.exports.useRef(null),[b,p]=e.exports.useState((()=>s())),f=()=>{var e,t,o;null==(t=(null==(e=c.current)?void 0:e.close)||m.onClose)||t(),null==(o=m.onCloseCookieConsent)||o.call(m)};return a(o,{ref:c,layout:"modal",size:"md",onClose:m.onClose,heading:{title:i("cookies.preferences.title"),size:"md",subtitle:i("cookies.preferences.content").split("\\n").map((e=>l("p",{className:"text-neutral-gray mb-4 last:mb-0",children:e},e)))},children:[l(t,{consents:m.consents,onChange:(e,t)=>
1p({...b,[e]:t})}),a("div",{className:"flex flex-col tablet:block mt-4 text-right",children:[l("button",{type:"button",onClick:()=>{n(b),f()},className:"btn-secondary mb-2 tablet:mb-0 tablet:mr-4",children:i("cookies.confirm")}),l("button",{type:"button",onClick:()=>{r(),f()},className:"btn-primary",children:i("cookies.accept_all")})]})]})}export{m as CookieModal};
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.