import c from"./BaseLoading-BybaDtvq.js";import{y as p,_ as d}from"./index-BRMV7KFd.js";import{_ as m}from"./Carousel-CXDQL0yA.js";import{y as _,D as u,o as i,e as b,k as v,f as t,t as f,m as y,g as a,x as g}from"./vendor-CI5NvTnj.js";import"./swiper-core-KMhvhzce.js";import"./scrollbar-Dd9IoCR7.js";import"./classes-to-selector-B0617UQA.js";import"./swiper-vue-B4GuJSWe.js";import"./ButtonChevron.vue_vue_type_script_setup_true_lang-8Ahf7bt1.js";import"./ButtonFavorite-C2GbfENc.js";function l(r){const s=r;s.__i18n=s.__i18n||[],s.__i18n.push({locale:"",resource:{cs:{favorite_products:e=>{const{normalize:o}=e;return o(["NejoblĂbenÄ›jšà Mixit"])}},sk:{favorite_products:e=>{const{normalize:o}=e;return o(["Najobľúbenejšà Mixit"])}},pl:{favorite_products:e=>{const{normalize:o}=e;return o(["Najpopularniejsze produkty Mixit"])}},hu:{favorite_products:e=>{const{normalize:o}=e;return o(["LegnĂ©pszerűbb Mixit"])}},de:{favorite_products:e=>{const{normalize:o}=e;return o(["Die beliebtesten Mixit"])}},at:{favorite_products:e=>{const{normalize:o}=e;return o(["Die beliebtesten Mixit"])}},ro:{favorite_products:e=>{const{normalize:o}=e;return o(["Cel mai popular Mixit"])}}}})}const h={class:"px-1 relative overflow-hidden"},x={class:"container py-5 py-md-6 pb-lg-0"},z={class:"row justify-center"},k={class:"col-lg-6"},S={class:"mb-5 mb-lg-6"},j={class:"mb-2 mb-lg-5 text-center"},M=g('<div class="col-1 p-0 absolute position-bottom position-right mb-8 mr-n7 d-none d-xxl-block"><div class="embed-responsive embed-responsive-1by1 bg-light opacity-40 pattern-2 mb-8"></div></div><div class="col-2 p-0 absolute position-bottom position-left mb-8 ml-n9 pr-5 d-none d-lg-block"><div class="embed-responsive embed-responsive-1by1 bg-light opacity-40 pattern-2"></div></div><div class="col-3 pl-8 pr-0 absolute position-left-40 position-top mt-9 ml-6 d-none d-lg-block"><div class="embed-responsive embed-responsive-1by1 bg-light opacity-40 pattern-2 mt-6"></div></div>',3),N=t("div",{class:"py-2 py-md-3 py-lg-8"},null,-1),C={__name:"HomeFavoriteProducts",setup(r){const{t:s}=_(),e=p(),o=u();return(async()=>{o.value=await e.loadCrossSell("quantity=6&kind=homepage_favorite_cross_sell")})(),(D,w)=>{var n;return i(),b("section",h,[v(d,{path:"line",alignment:"top",color:"text-primary",class:"d-none d-lg-block","additional-class":"mt-8 opacity-20","svg-class":"mt-9"}),t("div",x,[t("div",z,[t("div",k,[t("header",S,[t("h2",j,f(y(s)("favorite_products")),1)])]),M,((n=o.value)==null?void 0:n.length)>0?(i(),a(m,{key:0,slides:o.value,class:"col-12"},null,8,["slides"])):(i(),a(c,{key:1,style:{minHeight:"670px"}}))])]),N])}}};typeof l=="function"&&l(C);export{C as default};