import{u as k,b as d,A as l}from"./index-_04Sks9N.js";import{y as p,A as g,o as f,e as b,f as o,m as t,k as v,l as h,C as c,t as i}from"./vendor-wgE37vvX.js";function m(a){const r=a;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{cs:{close:n=>{const{normalize:e}=n;return e(["Odmítnout"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit potřebuje váš souhlas s použitím souborů cookies, aby se vám mohli zobrazovat informace v souladu s vašimi zájmy."])},more_information:n=>{const{normalize:e}=n;return e(["Další informace"])},ok:n=>{const{normalize:e}=n;return e(["Souhlasím"])},settings:n=>{const{normalize:e}=n;return e(["Nastavení"])}},sk:{close:n=>{const{normalize:e}=n;return e(["Zavrieť"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit potrebuje Váš súhlas s použitím súborov cookies, aby sa Vám mohli zobrazovať informácie v súlade s Vašimi záujmami."])},more_information:n=>{const{normalize:e}=n;return e(["Ďalšie informácie"])},ok:n=>{const{normalize:e}=n;return e(["OK"])},settings:n=>{const{normalize:e}=n;return e(["Nastavenia"])}},pl:{close:n=>{const{normalize:e}=n;return e(["Zrezygnuj"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit potrzebuje Twojej zgody na korzystanie z plików cookies, aby móc wyświetlać informacje zgodnie z Twoimi zainteresowaniami."])},more_information:n=>{const{normalize:e}=n;return e(["Więcej informacji"])},ok:n=>{const{normalize:e}=n;return e(["Ok"])},settings:n=>{const{normalize:e}=n;return e(["Ustawienia"])}},hu:{close:n=>{const{normalize:e}=n;return e(["Visszautasítani"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["A Mixitnek szüksége van a hozzájárulásodra ahhoz, hogy a sütiket a te érdeklődési körödnek megfelelő információk megjelenítéséhez használhassa."])},more_information:n=>{const{normalize:e}=n;return e(["További információ"])},ok:n=>{const{normalize:e}=n;return e(["OK"])},settings:n=>{const{normalize:e}=n;return e(["Beállítások"])}},de:{close:n=>{const{normalize:e}=n;return e(["Ablehnen"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit benötigt Deine Zustimmung zur Verwendung von Cookies, um Dir Informationen zu zeigen, die Deinen Interessen entsprechen."])},more_information:n=>{const{normalize:e}=n;return e(["Weitere Informationen"])},ok:n=>{const{normalize:e}=n;return e(["Ok"])},settings:n=>{const{normalize:e}=n;return e(["Einstellungen"])}},at:{close:n=>{const{normalize:e}=n;return e(["Ablehnen"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit benötigt Deine Zustimmung zur Verwendung von Cookies, um Dir Informationen zu zeigen, die Deinen Interessen entsprechen."])},more_information:n=>{const{normalize:e}=n;return e(["Weitere Informationen"])},ok:n=>{const{normalize:e}=n;return e(["Ok"])},settings:n=>{const{normalize:e}=n;return e(["Einstellungen"])}},ro:{close:n=>{const{normalize:e}=n;return e(["Refuzați"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit are nevoie de consimțământul dvs. pentru utilizarea cookie-urilor, astfel încât acestea să vă poată afișa informații în conformitate cu interesele dvs."])},more_information:n=>{const{normalize:e}=n;return e(["Mai multe informații"])},ok:n=>{const{normalize:e}=n;return e(["OK"])},settings:n=>{const{normalize:e}=n;return e(["Setări"])}}}})}const y={class:"cookie-bar shadow"},x={class:"bar-container text-center"},C=o("div",{class:"bar-title font-bold mb-lg-3 mb-2"},[o("i",{class:"mi-cookies icon-32px mr-1 mi-lh-1"}),c(" Cookies ")],-1),j=["innerHTML"],w={__name:"CookieBar",setup(a){const{openModal:r}=k(),{setCookieConsentSettings:n}=d(),{t:e}=p(),u=async()=>{n(["analytic","personal","advertisement"]),await l.post("cookie_consent_stats",{advertisment_agreed:!0,personalized_agreed:!0,analytics_agreed:!0})},z=async()=>{n([]),await l.post("cookie_consent_stats",{advertisment_agreed:!1,personalized_agreed:!1,analytics_agreed:!1})};return(M,s)=>{const _=g("router-link");return f(),b("div",y,[o("div",x,[C,o("p",null,[o("span",{class:"px-1",innerHTML:t(e)("cookie_use_agreement")},null,8,j),v(_,{to:{name:"cookiesPath"}},{default:h(()=>[c(i(t(e)("more_information")),1)]),_:1})]),o("button",{type:"button",class:"btn btn-success py-3 px-6 rounded-pill mr-3",onClick:u},i(t(e)("ok")),1),o("button",{type:"button",class:"btn btn-outline-primary py-3 px-4 mr-1 rounded-pill",onClick:s[0]||(s[0]=V=>t(r)({id:"modal-cookies"}))},i(t(e)("settings")),1),o("button",{type:"button",class:"btn py-3 px-4 rounded-pill underline",onClick:z},i(t(e)("close")),1)])])}}};typeof m=="function"&&m(w);export{w as default};