const __vite__fileDeps=["shared/3j1fh/QuantityDiscountProgress-CeMFnBHH.js","shared/3j1fh/vendor-wgE37vvX.js","shared/3j1fh/index-_04Sks9N.js","shared/3j1fh/index-BSbFSSDG.css","shared/3j1fh/QuantityDiscountProgress-qekQhrqM.css","shared/3j1fh/ProductVariantsDropdown-CTwdFan7.js","shared/3j1fh/ProductVariantsDropdown-C5THc30C.css","shared/3j1fh/ProductStarsRating-DZ7CBfDR.js","shared/3j1fh/ProductStarsRating.vue_vue_type_style_index_0_lang-BbaOf1B0.js","shared/3j1fh/ProductStarsRating-Bw3hqSE6.css","shared/3j1fh/ButtonPushToMixButton-D6-Fett0.js","shared/3j1fh/ButtonShare-B-TMvX9I.js","shared/3j1fh/ButtonState-m1cvswlN.js","shared/3j1fh/ButtonFavorite-C8VNNsFt.js","shared/3j1fh/ButtonFavorite-CYx4huGr.css","shared/3j1fh/BaseBreadcrumb-BgXZbl5f.js","shared/3j1fh/BaseBreadcrumb-D1pef9HR.css","shared/3j1fh/BaseDiscountBubble-Bn_gyWLQ.js","shared/3j1fh/BaseDiscountBubble-BqJli_rl.css","shared/3j1fh/ProductCarousel-BM2ZXyPJ.js","shared/3j1fh/swiper-vue-BDRJsBgd.js","shared/3j1fh/swiper-core-KMhvhzce.js","shared/3j1fh/ButtonChevron.vue_vue_type_script_setup_true_lang-BKeL_QOK.js","shared/3j1fh/ProductCarousel-DSAKj82Y.css","shared/3j1fh/ProductPropertiesList-royHgVIF.js","shared/3j1fh/propertiesSvgs-BfofcfUi.js","shared/3j1fh/MixitPlusLogoSvg-BPLW94iE.js","shared/3j1fh/MixitPlusTagSvg-C79k3Zob.js","shared/3j1fh/ProductItemToast-DZYIrMNb.js","shared/3j1fh/ProductItemToast-BIWq1ieD.css","shared/3j1fh/ProductComponent-DqWfcKqr.js","shared/3j1fh/ProductPreparation-C25MipIL.js","shared/3j1fh/BaseAnchorWrapper-o2VKObVs.js","shared/3j1fh/ProductPreparation-DEQtwAoT.css","shared/3j1fh/BaseCrossSell-Cf8u2cEW.js","shared/3j1fh/Carousel-B487NNJ0.js","shared/3j1fh/scrollbar-Dd9IoCR7.js","shared/3j1fh/classes-to-selector-B0617UQA.js","shared/3j1fh/ProductSimilarProducts-j2ut8qq7.js","shared/3j1fh/ProductsCatalogGrid-BfTny-Zc.js","shared/3j1fh/striptags-BpeLwlJ7.js","shared/3j1fh/ProductsCatalogGrid-alUmg8R0.css","shared/3j1fh/ProductCustomSection-kqThpA-i.js","shared/3j1fh/ProductReviews-WsQyoX_8.js","shared/3j1fh/BaseReviewForm-zH0_UrKj.js","shared/3j1fh/RatingStarsSelect-PprDLt-r.js","shared/3j1fh/RatingStarsSelect-BIUZqsjT.css","shared/3j1fh/ProductReviews-oyUeyguj.css","shared/3j1fh/ModalFullscreenImage-DOPjMZQ8.js","shared/3j1fh/effect-fade-KwCiLuaB.js","shared/3j1fh/effect-target-CicQ8Gyi.js","shared/3j1fh/BaseLoading-Qm__BgWU.js","shared/3j1fh/ModalProductDetail-7PqAGFOd.js","shared/3j1fh/ModalProductShare-DCg1K_Um.js","shared/3j1fh/index-Ck9URi4H.js","shared/3j1fh/NoticeStore-nqsJtGPX.js","shared/3j1fh/ModalPushToMix-CH3QnXSl.js","shared/3j1fh/mixService-DONghgFw.js","shared/3j1fh/MixStore-BLsvnAEb.js","shared/3j1fh/ModalRemoveItem-DbSu_hH3.js","shared/3j1fh/ProductCustomSectionProchazka-1f8y1MNk.js","shared/3j1fh/ProductTabControl-p2Osbnhl.js","shared/3j1fh/BaseTransitionCollapse-dgRtN0e1.js","shared/3j1fh/ProductNutritionTable-Oq1wZmtC.js","shared/3j1fh/ProductNutritionTable-CodcBDRN.css","shared/3j1fh/ProductTabControl-6J5ww5qh.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); import{o as Ne,b as ke,x as We,q as He,n as ae,a as c,c as Fe,g as qe,B as Ze,G as Ge,H as Ke,p as Je,y as Ue,l as W,A as se,K as Qe,M as Xe,R as Ye}from"./index-_04Sks9N.js";import{D as h,s as De,i as g,b as Re,P as et,y as fe,A as Ae,o as a,e as p,f as n,g as b,m as r,v as l,k as s,t as v,n as we,l as x,h as m,E as tt,G as ot,C as nt,ai as rt,a4 as it,F as xe,B as at}from"./vendor-wgE37vvX.js";import st from"./BasePageWrapper-DN0TgMqa.js";import{s as lt}from"./striptags-BpeLwlJ7.js";function Pe(o){const d=o;d.__i18n=d.__i18n||[],d.__i18n.push({locale:"",resource:{cs:{for_mixit_plus:t=>{const{normalize:e}=t;return e(["pro ÄŤleny"])},ingredient:t=>{const{normalize:e}=t;return e(["Namixuj si"])},main_page:t=>{const{normalize:e}=t;return e(["HlavnĂ strana"])},ratings:{few:t=>{const{normalize:e}=t;return e(["hodnocenĂ"])},one:t=>{const{normalize:e}=t;return e(["hodnocenĂ"])},other:t=>{const{normalize:e}=t;return e(["hodnocenĂ"])}},read_more:t=>{const{normalize:e}=t;return e(["ÄŚĂst vĂce"])},selected_chocolate_products:t=>{const{normalize:e}=t;return e(["Jsem u ledu! Z dĹŻvodu vysokĂ˝ch teplot mÄ› poslali do chládku."])},share_on_facebook:t=>{const{normalize:e}=t;return e(["SdĂlet na Facebooku"])},voucher_permalink:t=>{const{normalize:e}=t;return e(["mixit-plus-na-12-mesicu"])}},sk:{for_mixit_plus:t=>{const{normalize:e}=t;return e(["pre ÄŤlenov"])},ingredient:t=>{const{normalize:e}=t;return e(["Namixuj si"])},main_page:t=>{const{normalize:e}=t;return e(["Hlavná stránka"])},ratings:{few:t=>{const{normalize:e}=t;return e(["hodnotenia"])},one:t=>{const{normalize:e}=t;return e(["hodnotenie"])},other:t=>{const{normalize:e}=t;return e(["hodnotenĂ"])}},read_more:t=>{const{normalize:e}=t;return e(["PreÄŤĂtaĹĄ si viac"])},selected_chocolate_products:t=>{const{normalize:e}=t;return e(["Som v chládku! :( ÄŚokoláda má kvĂ´li vysokĂ˝m teplotám dovolenku."])},share_on_facebook:t=>{const{normalize:e}=t;return e(["ZdieÄľaĹĄ na Facebooku"])},voucher_permalink:t=>{const{normalize:e}=t;return e(["mixit-plus-na-12-mesiacov"])}},pl:{for_mixit_plus:t=>{const{normalize:e}=t;return e(["dla czĹ‚onkĂłw"])},ingredient:t=>{const{normalize:e}=t;return e(["Namixuj"])},main_page:t=>{const{normalize:e}=t;return e(["Strona gĹ‚Ăłwna"])},ratings:{few:t=>{const{normalize:e}=t;return e(["oceny"])},one:t=>{const{normalize:e}=t;return e(["ocena"])},other:t=>{const{normalize:e}=t;return e(["ocen"])}},read_more:t=>{const{normalize:e}=t;return e(["Czytaj wiÄ™cej"])},selected_chocolate_products:t=>{const{normalize:e}=t;return e(["Czekam w chĹ‚odzie! :( Ze wzglÄ™du na upaĹ‚y, czekolada zostaĹ‚a wysĹ‚ana na przymusowy urlop."])},share_on_facebook:t=>{const{normalize:e}=t;return e(["UdostÄ™pnij na Facebooku"])},voucher_permalink:t=>{const{normalize:e}=t;return e(["mixit-plus-na-12-miesiecy"])}},hu:{for_mixit_plus:t=>{const{normalize:e}=t;return e(["tagok számára"])},ingredient:t=>{const{normalize:e}=t;return e(["Mixelji"])},main_page:t=>{const{normalize:e}=t;return e(["FĹ‘oldal"])},ratings:{few:t=>{const{normalize:e}=t;return e(["Ă©rtĂ©kelĂ©s"])},one:t=>{const{normalize:e}=t;return e(["Ă©rtĂ©kelĂ©s"])},other:t=>{const{normalize:e}=t;return e(["Ă©rtĂ©kelĂ©s"])}},read_more:t=>{const{normalize:e}=t;return e(["Továbbolvasom"])},selected_chocolate_products:t=>{const{normalize:e}=t;return e(["Hidegre helyezve! :( A magas hĹ‘mĂ©rsĂ©kletek miatt a csokoládĂ©s termĂ©kek szabadságon vannak."])},share_on_facebook:t=>{const{normalize:e}=t;return e(["Megosztani a Facebookon"])},voucher_permalink:t=>{const{normalize:e}=t;return e(["mixit-plusz-12-honapra"])}},de:{for_mixit_plus:t=>{const{normalize:e}=t;return e(["fĂĽr Mitglieder"])},ingredient:t=>{const{normalize:e}=t;return e(["Mix Dir"])},main_page:t=>{const{normalize:e}=t;return e(["Hauptseite"])},ratings:{few:t=>{const{normalize:e}=t;return e(["Bewertung"])},one:t=>{const{normalize:e}=t;return e(["Bewertung"])},other:t=>{const{normalize:e}=t;return e(["Bewertung"])}},read_more:t=>{const{normalize:e}=t;return e(["Mehr lesen"])},selected_chocolate_products:t=>{const{normalize:e}=t;return e(["Ich liege auf Eis! :( Wegen der hohen Temperaturen haben sie mich in die KĂĽhlung geschickt."])},share_on_facebook:t=>{const{normalize:e}=t;return e(["Auf Facebook teilen"])},voucher_permalink:t=>{const{normalize:e}=t;return e(["Mixit-plus Mitgliedschaft fĂĽr 12 Monate"])}},at:{for_mixit_plus:t=>{const{normalize:e}=t;return e(["fĂĽr Mitglieder"])},ingredient:t=>{const{normalize:e}=t;return e(["Mix Dir"])},main_page:t=>{const{normalize:e}=t;return e(["Hauptseite"])},ratings:{few:t=>{const{normalize:e}=t;return e(["Bewertung"])},one:t=>{const{normalize:e}=t;return e(["Bewertung"])},other:t=>{const{normalize:e}=t;return e(["Bewertung"])}},read_more:t=>{const{normalize:e}=t;return e(["Mehr lesen"])},selected_chocolate_products:t=>{const{normalize:e}=t;return e(["Ich liege auf Eis! :( Wegen der hohen Temperaturen haben sie mich in die KĂĽhlung geschickt."])},share_on_facebook:t=>{const{normalize:e}=t;return e(["Auf Facebook teilen"])},voucher_permalink:t=>{const{normalize:e}=t;return e(["Mixit-plus Mitgliedschaft fĂĽr 12 Monate"])}},ro:{for_mixit_plus:t=>{const{normalize:e}=t;return e(["pentru membri"])},ingredient:t=>{const{normalize:e}=t;return e(["Amesteca"])},main_page:t=>{const{normalize:e}=t;return e(["Pagina principalÄ"])},ratings:{few:t=>{const{normalize:e}=t;return e(["evaluÄri"])},one:t=>{const{normalize:e}=t;return e(["evaluare"])},other:t=>{const{normalize:e}=t;return e(["evaluÄri"])}},read_more:t=>{const{normalize:e}=t;return e(["mai mult"])},selected_chocolate_products:t=>{const{normalize:e}=t;return e(["La rece! :( Din cauza temperaturilor Ă®nalte produsele cu ciocolatÄ sunt Ă®n concediu."])},share_on_facebook:t=>{const{normalize:e}=t;return e(["ĂŽmpÄrtÄČ™it pe Facebook"])},voucher_permalink:t=>{const{normalize:e}=t;return e(["mixit-plus-de-12-luni"])}}}})}const R=o=>(tt("data-v-66a28db6"),o=o(),ot(),o),ct={class:"container"},mt={class:"product-hero px-2 px-md-0 row d-lg-block clearfix justify-center"},ut={class:"col-12 col-xl-6 float-right order-0 relative mb-4 mb-xl-0"},dt={class:"pb-1 text-center text-xl-left"},_t={class:"product-breadcrumb"},pt={class:"product-hero__title display-4 mb-2 mb-md-1"},zt={class:"d-flex items-center justify-center justify-xl-start"},ht={key:0},vt=["innerHTML"],gt={class:"col-12 col-md-6 pt-xl-5 float-left order-1"},bt={class:"relative px-1 pl-md-0 pr-md-4 ml-lg-n6"},kt=R(()=>n("div",{class:"product-hero__bubble product-hero__bubble--top pattern-2 d-none d-lg-block"},null,-1)),ft=R(()=>n("div",{class:"product-hero__bubble product-hero__bubble--bottom pattern-1 d-none d-lg-block"},null,-1)),yt={class:"product-carousel__wrapper"},wt={class:"product-hero__tags d-flex items-center flex-col absolute position-top position-right list-unstyled pt-6 pt-lg-0 pt-xl-2 mt-lg-7 mr-n1 mr-lg-5"},xt={key:0,class:"mb-lg-1 d-flex flex-col text-success"},Pt=R(()=>n("i",{class:"mi-recommended icon-36px"},null,-1)),Ct=[Pt],Et={key:1,class:"d-flex flex-col text-danger"},Tt=R(()=>n("i",{class:"mi-new icon-36px"},null,-1)),jt=[Tt],Vt={class:"col-12 col-md-8 col-lg-6 mx-auto float-right order-2 order-md-3 mt-3"},Lt=R(()=>n("hr",{class:"my-5 d-none d-md-block d-lg-none border-primary opacity-20"},null,-1)),St={key:0,class:"float-right w-100 mb-5 order-1 px-1 product-variants"},Dt={class:"d-block d-lg-inline-block"},Rt={key:0,class:"col-auto order-0"},At={class:"d-flex mb-0 text-nowrap"},It={class:"h2 d-block mb-0 mr-1 font-family-base"},$t={key:0},Mt={key:0,class:"h2 d-block m-0 font-family-base font-normal text-muted"},Ot={class:"mb-0"},Bt={key:0,class:"line-through text-danger h3 mb-0 mr-3 mr-lg-4 font-family-base"},Nt={key:1,class:"h3 font-family-base text-nowrap text-muted"},Wt={key:0,class:"small mb-0"},Ht={class:"form-row product-buttons ml-1 ml-xl-4 mt-3 mt-xl-0 order-2 order-xl-1"},Ft={key:0,class:"col col-lg-auto"},qt={key:1,class:"col col-lg-auto pt-2"},Zt={class:"col-auto d-flex m-0 relative zindex-2"},Gt={key:1,class:"d-flex w-100 items-center mt-2 order-1 order-xl-2 col-auto flex-wrap"},Kt={class:"mb-1"},Jt={class:"h2 d-block mb-0 mr-2 font-family-base"},Ut={class:"col-auto px-0 mixit-plus-flex"},Qt=R(()=>n("span",{class:"d-flex border border-warning border-width-2 text-warning p-1 rounded-circle"},[n("i",{class:"mi-question icon-12px"})],-1)),Xt={class:"text-sm text-nowrap ml-1"},Yt={class:"col-12 col-md-6 mb-0 mb-lg-5 float-right order-3 order-md-2"},eo={class:"text-sm mt-6 mt-md-0 mt-lg-7"},to={key:0,class:"font-bold text-info"},oo={key:1,class:"product-description-text relative"},no=["innerHTML"],ro=R(()=>n("span",null,"...",-1)),io={class:"underline font-bold"},Ie={__name:"ProductHero",props:{product:{type:Object,required:!0},productVariants:{type:Object,required:!0},isHiddenProduct:{type:Boolean,required:!0},commentsCount:{type:Number,required:!0}},emits:["changeActiveTab"],setup(o,{emit:d}){const t=m(()=>c(()=>import("./QuantityDiscountProgress-CeMFnBHH.js"),__vite__mapDeps([0,1,2,3,4]))),e=m(()=>c(()=>import("./ProductVariantsDropdown-CTwdFan7.js"),__vite__mapDeps([5,2,1,3,6]))),y=m(()=>c(()=>import("./ProductStarsRating-DZ7CBfDR.js"),__vite__mapDeps([7,8,2,1,3,9]))),A=m(()=>c(()=>import("./index-_04Sks9N.js").then(u=>u.X),__vite__mapDeps([2,1,3]))),H=m(()=>c(()=>import("./ButtonPushToMixButton-D6-Fett0.js"),__vite__mapDeps([10,1,2,3]))),E=m(()=>c(()=>import("./ButtonShare-B-TMvX9I.js"),__vite__mapDeps([11,2,1,3]))),Q=m(()=>c(()=>import("./ButtonState-m1cvswlN.js"),__vite__mapDeps([12,2,1,3]))),le=m(()=>c(()=>import("./ButtonFavorite-C8VNNsFt.js"),__vite__mapDeps([13,1,2,3,14]))),ce=m(()=>c(()=>import("./BaseBreadcrumb-BgXZbl5f.js"),__vite__mapDeps([15,2,1,3,16]))),me=m(()=>c(()=>import("./BaseDiscountBubble-Bn_gyWLQ.js"),__vite__mapDeps([17,2,1,3,18]))),ue=m(()=>c(()=>import("./ProductCarousel-BM2ZXyPJ.js"),__vite__mapDeps([19,20,21,1,22,2,3,23]))),de=m(()=>c(()=>import("./ProductPropertiesList-royHgVIF.js"),__vite__mapDeps([24,25,2,1,3]))),_e=m(()=>c(()=>import("./MixitPlusLogoSvg-BPLW94iE.js"),__vite__mapDeps([26,2,1,3]))),pe=m(()=>c(()=>import("./MixitPlusTagSvg-C79k3Zob.js"),__vite__mapDeps([27,2,1,3]))),X=m(()=>c(()=>import("./ProductItemToast-DZYIrMNb.js"),__vite__mapDeps([28,1,29]))),i=o,F=h(),T=u=>{F.value=u},ze=()=>{var u;return i.product.quantityDiscounts?i.product.plusClubPrice?!((u=j.value)!=null&&u.inPlusClub):!0:!1},he=ke(),{getCurrentCustomer:j}=De(he),Y=g(()=>[...i.product.images].sort((u,C)=>Number(C.main_image)-Number(u.main_image))),q=d,I=u=>{window.scrollTo({behavior:"smooth",top:document.querySelector("#tabControl").offsetTop+document.querySelector("#main").offsetTop-20}),q("changeActiveTab",u)},V=Re(),z=et(),{t:f}=fe(),k="https://www.mixit.sk/",L=(k.endsWith("/")?k.slice(0,-1):k)+V.path,Z=lt(i.product.description),ee=g(()=>We(Y.value[0].data,"jpeg")),$=g(()=>ee.value.llg),M=i.product.isReadyProduct||i.product.isGift?z.resolve({name:"productsPath",params:{permalink:i.product.categories[1].permalink}}):z.resolve({name:"mixesPath",params:{permalink:i.product.mixableToCategories[0].permalink}}),G={"@context":"https://www.schema.org","@type":"Product",brand:{"@type":"Brand",name:"Mixit"},image:$.value,name:i.product.name,category:i.product.isReadyProduct||i.product.isGift?i.product.categories[1].title:i.product.mixableToCategories[0].title,description:i.product.shortDescription,offers:{"@type":"Offer",price:i.product.price,lowPrice:i.product.price,highPrice:i.product.priceWithoutDiscount,priceCurrency:i.product.currencyCode,url:L,itemCondition:"https://schema.org/NewCondition"}},S={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:f("main_page"),item:k.endsWith("/")?k.slice(0,-1):k},{"@type":"ListItem",position:2,name:i.product.isReadyProduct||i.product.isGift?i.product.categories[1].title:i.product.mixableToCategories[0].title,item:(k.endsWith("/")?k.slice(0,-1):k)+M.href},{"@type":"ListItem",position:3,name:i.product.name}]};i.product.starRatingCommentsSum>0&&(G.aggregateRating={"@type":"AggregateRating",ratingValue:i.product.starRating,bestRating:5,ratingCount:i.product.starRatingCommentsSum});const P=[G,S];He({title:i.product.name,meta:[{property:"og:title",content:g(()=>i.product.name)},{property:"og:description",content:Z},{name:"description",content:Z},{property:"og:url",content:L},{property:"og:image",content:$},{property:"og:type",content:"product"},{name:"keywords",content:i.product.tags||i.product.name}],link:[{rel:"canonical",href:L}],script:[{type:"application/ld+json",children:JSON.stringify(P)}]});const ve=g(()=>{const u=[];return i.product.isReadyProduct||i.product.isGift?u.push({name:i.product.categories[1].title,link:{name:"productsPath",params:{permalink:i.product.categories[1].permalink}}}):i.product.isIngredient&&u.push({name:i.product.mixableToCategories[0].title,link:{name:"mixesPath",params:{permalink:i.product.mixableToCategories[0].permalink}}}),u.push({name:i.product.name,link:{name:"productPath",params:{permalink:i.product.permalink}}}),u}),te=g(()=>(k.endsWith("/")?k.slice(0,-1):k)+V.fullPath),K=g(()=>i.product?i.product.properties.filter(u=>u.propertyType==="marketing"):[]),oe=g(()=>K.value.filter(u=>u.systemName!=="new"&&u.systemName!=="recommended")),J=g(()=>K.value.some(u=>u.systemName==="new")),U=g(()=>K.value.some(u=>u.systemName==="recommended")),O=g(()=>i.commentsCount===1?f("ratings.one"):i.commentsCount>=2&&i.commentsCount<=4?f("ratings.few"):f("ratings.other"));return(u,C)=>{var ne,re,ie,B;const ge=Ae("router-link");return a(),p("div",ct,[n("div",mt,[n("div",ut,[o.isHiddenProduct?l("",!0):(a(),b(r(E),{key:0,link:te.value,class:"col-auto absolute position-right position-top mt-n1 d-lg-inline-block d-none","icon-only":!0},null,8,["link"])),n("header",dt,[n("div",_t,[s(r(ce),{"breadcrumb-list":ve.value,"additional-class-name":"justify-center justify-xl-start"},null,8,["breadcrumb-list"])]),n("h1",pt,v(o.product.name),1),n("div",zt,[o.product.starRating>0?(a(),b(r(y),{key:0,rating:o.product.starRating},null,8,["rating"])):l("",!0),n("div",{class:"to-comments underline",onClick:C[0]||(C[0]=w=>I(3))},[o.commentsCount>0?(a(),p("span",ht,v(o.commentsCount)+" "+v(O.value),1)):l("",!0)])]),o.product.positives&&o.product.positives.length>0?(a(),p("p",{key:0,class:"mb-0 mt-2 text-sm",innerHTML:o.product.positives},null,8,vt)):l("",!0)])]),n("div",gt,[n("div",bt,[s(r(X),{"toast-operation":F.value},null,8,["toast-operation"]),kt,ft,o.product.hasDiscount||o.product.plusClubPrice!==null&&((ne=r(j))!=null&&ne.inPlusClub)?(a(),b(r(me),{key:0,"price-with-discount":parseFloat(o.product.plusClubPrice!==null&&((re=r(j))!=null&&re.inPlusClub)?o.product.plusClubPrice:o.product.price),"price-without-discount":parseFloat(o.product.priceWithoutDiscount),currency:o.product.currency,class:"mt-lg-6 ml-lg-6"},null,8,["price-with-discount","price-without-discount","currency"])):l("",!0),n("div",yt,[s(r(ue),{images:Y.value},null,8,["images"])]),n("ul",wt,[U.value?(a(),p("li",xt,Ct)):l("",!0),J.value?(a(),p("li",Et,jt)):l("",!0)])])]),n("div",Vt,[Lt,o.productVariants&&o.productVariants.length>0?(a(),p("div",St,[n("div",Dt,[s(r(e),{products:o.productVariants},null,8,["products"])])])):l("",!0),n("div",{class:we(["row items-start mt-n3 mb-4 pt-3 pt-md-0",{"mt-4 mt-md-5":!(o.product.variants&&o.product.variants.productVariants.length>0)}])},[o.isHiddenProduct?l("",!0):(a(),p("div",Rt,[n("p",At,[n("strong",It,[n("span",{class:we({"line-through text-danger":o.product.plusClubPrice!==null&&((ie=r(j))==null?void 0:ie.inPlusClub)})},v(r(ae)(o.product.price,o.product.currency)),3),o.product.weight>0?(a(),p("span",$t," /")):l("",!0)]),o.product.weight>0?(a(),p("span",Mt,v(o.product.weight)+" g",1)):l("",!0)]),n("p",Ot,[o.product.hasDiscount&&(o.product.plusClubPrice===null||!((B=r(j))!=null&&B.inPlusClub))?(a(),p("strong",Bt,v(r(ae)(o.product.priceWithoutDiscount,o.product.currency)),1)):l("",!0),o.product.hasDiscount&&o.product.plusClubPrice!==null&&!o.product.price?(a(),p("span",Nt," / "+v(o.product.weight)+" g ",1)):l("",!0)]),o.product.pricePerPortion?(a(),p("p",Wt," ("+v(r(ae)(parseFloat(o.product.pricePerPortion).toFixed(2),o.product.currency))+" / 100 g) ",1)):l("",!0)])),n("div",Ht,[o.product.isReadyProduct||o.product.isGift?(a(),p("div",Ft,[o.product.state==="available"?(a(),b(r(A),{key:0,"show-decrement-button":!0,product:o.product,wide:!0,theme:"white",onCartOperation:T},null,8,["product"])):(a(),b(r(Q),{key:1,state:o.product.state,product:o.product,"added-class":"w-100"},null,8,["state","product"]))])):o.product.isIngredient?(a(),p("div",qt,[o.product.state==="available"?(a(),b(r(H),{key:0,product:o.product,"added-class":"w-100"},null,8,["product"])):(a(),b(r(Q),{key:1,state:o.product.state,product:o.product,"added-class":"w-100"},null,8,["state","product"]))])):l("",!0),n("div",Zt,[o.product.isIngredient?l("",!0):(a(),b(r(le),{key:0,id:o.product.id,"box-class":"m-0","btn-class":"btn btn-gradient btn-info stretched-link rounded-pill border-0 p-2 relative","icon-size":"28","icon-color-class":"text-white"},null,8,["id"])),o.isHiddenProduct?l("",!0):(a(),b(r(E),{key:1,link:te.value,class:"col-auto d-lg-none","icon-only":!0},null,8,["link"]))])]),o.product.plusClubPrice?(a(),p("div",Gt,[n("p",Kt,[n("strong",Jt,v(r(ae)(o.product.plusClubPrice,o.product.currency)),1)]),s(r(pe),{class:"mr-2"}),n("div",Ut,[s(ge,{to:{name:"productPath",params:{permalink:r(f)("voucher_permalink")}},class:"d-flex justify-start items-center flex-nowrap mb-1 no-decoration"},{default:x(()=>[Qt,n("span",Xt,v(r(f)("for_mixit_plus")),1),s(r(_e),{width:"94",class:"ml-1 relative mt-1"})]),_:1},8,["to"])])])):l("",!0)],2),s(r(de),{properties:oe.value,class:"col-auto col-lg pt-0 pl-0"},null,8,["properties"])]),ze()?(a(),b(r(t),{key:0,product:o.product},null,8,["product"])):l("",!0),n("div",null,[n("div",Yt,[n("div",eo,[o.product.state==="weather_too_hot"?(a(),p("p",to,v(r(f)("selected_chocolate_products")),1)):l("",!0),i.product.quantityDiscounts?l("",!0):(a(),p("div",oo,[n("p",{innerHTML:o.product.description},null,8,no),n("span",{class:"to-description absolute position-right",onClick:C[1]||(C[1]=w=>I(1))},[ro,n("span",io,v(r(f)("read_more")),1)])]))])])])])])}}};typeof Pe=="function"&&Pe(Ie);const ao=Ne(Ie,[["__scopeId","data-v-66a28db6"]]);function Ce(o){const d=o;d.__i18n=d.__i18n||[],d.__i18n.push({locale:"",resource:{cs:{this_product_is_no_available:t=>{const{normalize:e}=t;return e(["Tento produkt má uĹľ svĂ©ho nástupce."])},want_to_see:t=>{const{normalize:e}=t;return e(["Chci se kouknout"])},with_this_substitute:t=>{const{normalize:e}=t;return e(["Snad vás potěšĂme tĂmto náhradnĂkem. "])}},sk:{this_product_is_no_available:t=>{const{normalize:e}=t;return e(["Tento produkt uĹľ má svojho nástupcu."])},want_to_see:t=>{const{normalize:e}=t;return e(["Chcem sa pozrieĹĄ"])},with_this_substitute:t=>{const{normalize:e}=t;return e(["Snáď Vás potešĂme tĂ˝mto náhradnĂkom."])}},pl:{this_product_is_no_available:t=>{const{normalize:e}=t;return e(["Ten produkt nie jest juĹĽ dostÄ™pny."])},want_to_see:t=>{const{normalize:e}=t;return e(["ChcÄ™ zobaczyć"])},with_this_substitute:t=>{const{normalize:e}=t;return e(["Liczymy, ĹĽe jego nowa wersja przypadnie Ci do gustu."])}},hu:{this_product_is_no_available:t=>{const{normalize:e}=t;return e(["Ez a termĂ©k már nem elĂ©rhetĹ‘ :-("])},want_to_see:t=>{const{normalize:e}=t;return e(["MegnĂ©zem"])},with_this_substitute:t=>{const{normalize:e}=t;return e(["RemĂ©ljĂĽk termĂ©kajánlatunkkal kedvedben járunk :-)"])}},de:{this_product_is_no_available:t=>{const{normalize:e}=t;return e(["Dieses Produkt hat bereits einen Nachfolger. "])},want_to_see:t=>{const{normalize:e}=t;return e(["Jetzt entdecken!"])},with_this_substitute:t=>{const{normalize:e}=t;return e(["Dieser Nachfolger gefälllt dir hoffentlich auch. :-)"])}},at:{this_product_is_no_available:t=>{const{normalize:e}=t;return e(["Dieses Produkt hat bereits einen Nachfolger. "])},want_to_see:t=>{const{normalize:e}=t;return e(["Jetzt entdecken!"])},with_this_substitute:t=>{const{normalize:e}=t;return e(["Dieser Nachfolger gefälllt dir hoffentlich auch. :-)"])}},ro:{this_product_is_no_available:t=>{const{normalize:e}=t;return e(["Acest produs are un Ă®nlocuitor. "])},want_to_see:t=>{const{normalize:e}=t;return e(["Vreau sÄ vÄd"])},with_this_substitute:t=>{const{normalize:e}=t;return e(["SperÄm cÄ veČ›i fi mulČ›umit de acest Ă®nlocuitor. "])}}}})}const so={class:"container"},lo={class:"d-flex items-center px-3 py-4 p-md-4 mb-4 p-lg-5 bg-white rounded-lg shadow row"},co={class:"col-md-7 col-12"},mo={class:"row"},uo={class:"col-2"},_o={class:"embed-responsive embed-responsive-1by1 mb-0"},po={class:"col-10"},zo={class:"h3 mb-2"},ho={class:"text-sm"},vo={class:"col-md-5 col-12"},go={class:"row bg-white rounded-lg shadow py-2"},bo={class:"col-3"},ko={class:"embed-responsive embed-responsive-4by3 mb-4 mb-lg-3"},fo={class:"col-9"},yo={class:"h4 mb-2"},wo=n("i",{class:"mi-cart icon-20px mr-2 mr-sm-1 d-none d-lg-block"},null,-1),$e={__name:"ProductSuccessorProduct",props:{product:{type:Object,required:!0}},setup(o){const{t:d}=fe(),t=o,e=g(()=>[...t.product.images].sort((y,A)=>Number(A.main_image)-Number(y.main_image)));return(y,A)=>{const H=Ae("router-link");return a(),p("div",so,[n("div",lo,[n("div",co,[n("div",mo,[n("div",uo,[n("div",_o,[s(Fe,{src:"bird-search.png","img-class":"embed-responsive-item image-contain",alt:"PĹ™ihlášenĂ"})])]),n("div",po,[n("h3",zo,v(r(d)("this_product_is_no_available")),1),n("p",ho,v(r(d)("with_this_substitute")),1)])])]),n("div",vo,[n("div",go,[n("div",bo,[n("div",ko,[s(qe,{"product-image-data":e.value[0].data,"img-class":"embed-responsive-item image-contain",alt:o.product.name},null,8,["product-image-data","alt"])])]),n("div",fo,[n("h4",yo,v(o.product.name),1),s(H,{class:"btn btn-gradient py-1 px-2 mb-2 btn-success rounded-pill font-weight-medium stretched-link text-nowrap",to:{name:"productPath",params:{permalink:o.product.permalink}}},{default:x(()=>[wo,nt(" "+v(r(d)("want_to_see")),1)]),_:1},8,["to"])])])])])])}}};typeof Ce=="function"&&Ce($e);const xo=(o,d,t)=>{var e;(e=window.dataLayer)==null||e.push({event:"view_item",platform:Ze.platform(),ecommerce:{currency:d.currencyCode,products:[{id:Ge(d.id),name:d.name,favorite:t.isFavorite,categories:d.categories.map(y=>y.title),labels:d.properties.map(y=>y.name),availability:"stock",price:Ke(d.price),currency:d.currencyCode,discount:0}],user:{email:o.email,phone:o.phone}},_clear:!0})};function Ee(o){const d=o;d.__i18n=d.__i18n||[],d.__i18n.push({locale:"",resource:{cs:{benefits:t=>{const{normalize:e}=t;return e(["VĂ˝hody"])},best_combination_description:t=>{const{normalize:e}=t;return e(["Vyznejte lásku zamilovanĂ˝mi dárkovĂ˝mi balĂÄŤky. Namixovali jsme vášnivĂ˝ mix ElixĂr z lásky, celĂ© mrazem sušenĂ© jahĹŻdky, ÄŤokoládovĂ© kousky s malinami a mandlemi nebo zbrusu novĂ© Crème boule - Love Berry."])},best_combination_link:t=>{const{normalize:e}=t;return e(["https://www.mixit.cz/hotove-mixit/valentyn"])},best_combination_title:t=>{const{normalize:e}=t;return e(["KĹ™upavĂ˝ ValentĂ˝n"])},choose_type_of_mix_title:t=>{const{normalize:e}=t;return e(["Zvolte, jakĂ˝ typ mixu chcete mĂchat:"])},comment_moment:t=>{const{normalize:e}=t;return e(["Moment, ještÄ› koment"])},copy_link:t=>{const{normalize:e}=t;return e(["ZkopĂrujte si odkaz"])},evaluation:t=>{const{normalize:e}=t;return e(["HodnocenĂ"])},ingredients:t=>{const{normalize:e}=t;return e(["SloĹľenĂ"])},nutrition_information:t=>{const{normalize:e}=t;return e(["VýživovĂ© Ăşdaje"])},remove_item_title:t=>{const{normalize:e}=t;return e(["Opravdu si pĹ™ejete odstranit tento produkt z košĂku?"])},video:t=>{const{normalize:e}=t;return e(["Video"])},watchdog_title:t=>{const{normalize:e}=t;return e(["Chcete si poÄŤkat?"])},what_a_good_buy:t=>{const{normalize:e}=t;return e(["DoporuÄŤujeme pĹ™ikoupit"])}},sk:{benefits:t=>{const{normalize:e}=t;return e(["VĂ˝hody"])},best_combination_description:t=>{const{normalize:e}=t;return e(["Vyznajte lásku zamilovanĂ˝mi darÄŤekovĂ˝mi balĂÄŤkami. Namixovali sme vášnivĂ˝ mix ElixĂr z lásky, celĂ© mrazom sušenĂ© jahĂ´dky, ÄŤokoládovĂ© kĂşsky s malinami a mandÄľami i Ăşplne novĂ© Crème boule - Love Berry."])},best_combination_link:t=>{const{normalize:e}=t;return e(["https://www.mixit.sk/hotove-mixit/valentin"])},best_combination_title:t=>{const{normalize:e}=t;return e(["ChrumkavĂ˝ ValentĂn"])},choose_type_of_mix_title:t=>{const{normalize:e}=t;return e(["ZvoÄľte, akĂ˝ typ mixu chcete miešaĹĄ:"])},comment_moment:t=>{const{normalize:e}=t;return e(["Moment, ešte koment"])},copy_link:t=>{const{normalize:e}=t;return e(["SkopĂrujte si odkaz"])},evaluation:t=>{const{normalize:e}=t;return e(["Hodnotenie"])},ingredients:t=>{const{normalize:e}=t;return e(["ZloĹľenie"])},nutrition_information:t=>{const{normalize:e}=t;return e(["VýživovĂ© Ăşdaje"])},remove_item_title:t=>{const{normalize:e}=t;return e(["Naozaj si Ĺľeláte odstrániĹĄ tento produkt z košĂka?"])},video:t=>{const{normalize:e}=t;return e(["Video"])},watchdog_title:t=>{const{normalize:e}=t;return e(["Chcete si poÄŤkaĹĄ?"])},what_a_good_buy:t=>{const{normalize:e}=t;return e(["ÄŚo dobrĂ© prikĂşpiĹĄ"])}},pl:{benefits:t=>{const{normalize:e}=t;return e(["Zalety"])},best_combination_description:t=>{const{normalize:e}=t;return e(["WyraĹş swojÄ… miĹ‚ość z zakochanymi zestawami podarunkowymi od Mixit! OprĂłcz nich na prezent idealnie sprawdzÄ… siÄ™: pyszne, limitowane musli Eliksir miĹ‚oĹ›ci, caĹ‚e liofilizowane truskawki w uroczym cukierku, czekoladowe grudki z malinami i migdaĹ‚ami czy zupeĹ‚nie nowe Crème boule — Love Berry."])},best_combination_link:t=>{const{normalize:e}=t;return e(["https://www.mixit.pl/gotowe-mixit/walentynki"])},best_combination_title:t=>{const{normalize:e}=t;return e(["ChrupiÄ…ce Walentynki"])},choose_type_of_mix_title:t=>{const{normalize:e}=t;return e(["Wybierz, jaki typ mixu chcesz namixować:"])},comment_moment:t=>{const{normalize:e}=t;return e(["SmakowaĹ‚o? Zostaw swĂłj komentarz."])},copy_link:t=>{const{normalize:e}=t;return e(["Skopiuj link"])},evaluation:t=>{const{normalize:e}=t;return e(["Recenzje"])},ingredients:t=>{const{normalize:e}=t;return e(["SkĹ‚ad"])},nutrition_information:t=>{const{normalize:e}=t;return e(["WartoĹ›ci odĹĽywcze"])},remove_item_title:t=>{const{normalize:e}=t;return e(["NaprawdÄ™ chcesz usunąć ten produkt z koszyka?"])},video:t=>{const{normalize:e}=t;return e(["Video"])},watchdog_title:t=>{const{normalize:e}=t;return e(["Chcesz poczekać?"])},what_a_good_buy:t=>{const{normalize:e}=t;return e(["Warto dodać"])}},hu:{benefits:t=>{const{normalize:e}=t;return e(["ElĹ‘nyök"])},best_combination_description:t=>{const{normalize:e}=t;return e(["Fejezd ki szeretetedet szerelmes ajándĂ©kcsomagokkal. Ă–sszeállĂtottunk egy mixet szenvedĂ©lyes Szerelmi elixĂrbĹ‘l , egĂ©sz liofilizált eperbĹ‘l, csokoládĂ©darabokbĂłl málnával Ă©s mandulával vagy a vadonatĂşj Creme boule - Love Berry-bĹ‘l."])},best_combination_link:t=>{const{normalize:e}=t;return e(["https://www.mixit.hu/kesztermekek/valentin"])},best_combination_title:t=>{const{normalize:e}=t;return e(["RopogĂłs Valentin-nap"])},choose_type_of_mix_title:t=>{const{normalize:e}=t;return e(["Válaszd ki milyen fajta mixet szeretnĂ©l keverni!"])},comment_moment:t=>{const{normalize:e}=t;return e(["Várj! Dobj egy Ă©rtĂ©kelĂ©st."])},copy_link:t=>{const{normalize:e}=t;return e(["Link másolás"])},evaluation:t=>{const{normalize:e}=t;return e(["ÉrtĂ©kelĂ©sek"])},ingredients:t=>{const{normalize:e}=t;return e(["Ă–sszetevĹ‘k"])},nutrition_information:t=>{const{normalize:e}=t;return e(["TápĂ©rtĂ©kadatok"])},remove_item_title:t=>{const{normalize:e}=t;return e(["Biztos el szeretnĂ©d távolĂtani a termĂ©ket a kosárbĂłl?"])},video:t=>{const{normalize:e}=t;return e(["VideĂł"])},watchdog_title:t=>{const{normalize:e}=t;return e(["SzeretnĂ©l várni?"])},what_a_good_buy:t=>{const{normalize:e}=t;return e(["Mi finomat rendeljek mĂ©g?"])}},de:{benefits:t=>{const{normalize:e}=t;return e(["Vorteile"])},best_combination_description:t=>{const{normalize:e}=t;return e(["Bringe Deine Liebe mit Liebesgeschenkpaketen zum Ausdruck. Wir haben eine leidenschaftliche Mischung aus Love Elixir, ganzen gefriergetrockneten Erdbeeren, SchokoladenstĂĽckchen mit Himbeeren und Mandeln oder der brandneuen Crème boule - Love Berry zusammengestellt."])},best_combination_link:t=>{const{normalize:e}=t;return e(["https://www.mixit.de/fertig-mixit/valentinstag"])},best_combination_title:t=>{const{normalize:e}=t;return e(["Knuspriger Valentinstag"])},choose_type_of_mix_title:t=>{const{normalize:e}=t;return e(["Was fĂĽr eine Mix möchtest Du mixen?"])},comment_moment:t=>{const{normalize:e}=t;return e(["Warte, hinterlasse noch einen Kommentar"])},copy_link:t=>{const{normalize:e}=t;return e(["Link kopieren"])},evaluation:t=>{const{normalize:e}=t;return e(["Bewertung"])},ingredients:t=>{const{normalize:e}=t;return e(["Zutaten"])},nutrition_information:t=>{const{normalize:e}=t;return e(["Nährwertangaben"])},remove_item_title:t=>{const{normalize:e}=t;return e(["Möchtest Du dieses Produkt wirklich aus dem Warenkorb entfernen?"])},video:t=>{const{normalize:e}=t;return e(["Video"])},watchdog_title:t=>{const{normalize:e}=t;return e(["Möchtest Du warten?"])},what_a_good_buy:t=>{const{normalize:e}=t;return e(["Wir empfehlen, Folgendes hinzuzufĂĽgen"])}},at:{benefits:t=>{const{normalize:e}=t;return e(["Vorteile"])},best_combination_description:t=>{const{normalize:e}=t;return e(["Bringe Deine Liebe mit Liebesgeschenkpaketen zum Ausdruck. Wir haben eine leidenschaftliche Mischung aus Love Elixir, ganzen gefriergetrockneten Erdbeeren, SchokoladenstĂĽckchen mit Himbeeren und Mandeln oder der brandneuen Crème boule - Love Berry zusammengestellt."])},best_combination_link:t=>{const{normalize:e}=t;return e(["https://www.mixit.de/fertig-mixit/valentinstag"])},best_combination_title:t=>{const{normalize:e}=t;return e(["Knuspriger Valentinstag"])},choose_type_of_mix_title:t=>{const{normalize:e}=t;return e(["Was fĂĽr eine Mix möchtest Du mixen?"])},comment_moment:t=>{const{normalize:e}=t;return e(["Warte, hinterlasse noch einen Kommentar"])},copy_link:t=>{const{normalize:e}=t;return e(["Link kopieren"])},evaluation:t=>{const{normalize:e}=t;return e(["Bewertung"])},ingredients:t=>{const{normalize:e}=t;return e(["Zutaten"])},nutrition_information:t=>{const{normalize:e}=t;return e(["Nährwertangaben"])},remove_item_title:t=>{const{normalize:e}=t;return e(["Möchtest Du dieses Produkt wirklich aus dem Warenkorb entfernen?"])},video:t=>{const{normalize:e}=t;return e(["Video"])},watchdog_title:t=>{const{normalize:e}=t;return e(["Möchtest Du warten?"])},what_a_good_buy:t=>{const{normalize:e}=t;return e(["Wir empfehlen, Folgendes hinzuzufĂĽgen"])}},ro:{benefits:t=>{const{normalize:e}=t;return e(["Beneficii"])},best_combination_description:t=>{const{normalize:e}=t;return e(["MÄrturiseČ™te dragostea cu pachete cadou. Am amestecat un mix pasional Elixirul dragostei, cÄpČ™une Ă®ntregi liofilizate, bucÄČ›i de ciocolatÄ cu zmeurÄ Č™i migdale sau noutatea BiluČ›e cremoase - Love Berry."])},best_combination_link:t=>{const{normalize:e}=t;return e(["https://www.mixit.ro/mixit-pregatit/valentine"])},best_combination_title:t=>{const{normalize:e}=t;return e(["Ziua ĂŽndrÄgostiČ›ilor crocantÄ"])},choose_type_of_mix_title:t=>{const{normalize:e}=t;return e(["Alegeti tipul mixului pentru amestecul dumneavoastra:"])},comment_moment:t=>{const{normalize:e}=t;return e(["Un moment, adÄugaČ›i o recenzie"])},copy_link:t=>{const{normalize:e}=t;return e(["CopiazÄ linkul"])},evaluation:t=>{const{normalize:e}=t;return e(["Opinii"])},ingredients:t=>{const{normalize:e}=t;return e(["Ingrediente"])},nutrition_information:t=>{const{normalize:e}=t;return e(["InformaČ›ii nutriČ›ionale"])},remove_item_title:t=>{const{normalize:e}=t;return e(["Chiar doreČ™ti sÄ Ă®ndepÄrtezi produsul din coČ™?"])},video:t=>{const{normalize:e}=t;return e(["Videoclip"])},watchdog_title:t=>{const{normalize:e}=t;return e(["DoreČ™ti sÄ aČ™tepČ›i?"])},what_a_good_buy:t=>{const{normalize:e}=t;return e(["Ce bunÄtate sÄ mai adaug"])}}}})}const Po={class:"d-flex flex-col relative mt-n5 mt-lg-0 pt-5 pt-lg-0"},Co=n("div",{class:"absolute position-top position-left w-100 h-100 d-lg-none bg-white"},null,-1),Eo={key:2,class:"mt-2 mt-md-8 mb-md-7 pt-2 pt-md-6 bg-primary-100"},To={class:"container"},jo={class:"d-flex justify-center"},Vo={class:"col-lg-10 col-12 mx-0 px-0 mb-2"},Lo={key:3,class:"pt-2 mt-n4 pt-md-6 bg-primary-200"},So={key:4,class:"pt-2 mt-n4 pt-md-6 bg-primary-200"},Do={class:"container p-2"},Ro={class:"d-flex justify-center"},Ao={class:"col-lg-10 col-12 mx-0 px-0"},Io={key:0,class:"d-flex flex-col"},$o={class:"mb-5 text-center d-block zindex-2"},Mo={class:"mb-3 mb-md-4 mb-lg-5 text-center d-block"},Oo={class:"px-3"},be=0,Te=1,je=2,Ve=3,Le=4,Se=5,Bo=6,No={__name:"show",setup(o){const d=m(()=>c(()=>import("./ProductComponent-DqWfcKqr.js"),__vite__mapDeps([30,2,1,3]))),t=m(()=>c(()=>import("./ProductPreparation-C25MipIL.js"),__vite__mapDeps([31,32,1,20,21,22,2,3,33]))),e=m(()=>c(()=>import("./BaseCrossSell-Cf8u2cEW.js"),__vite__mapDeps([34,35,21,36,37,20,1,22,2,3,13,14,32]))),y=m(()=>c(()=>import("./ProductSimilarProducts-j2ut8qq7.js"),__vite__mapDeps([38,2,1,3,39,40,25,41]))),A=m(()=>c(()=>import("./ProductCustomSection-kqThpA-i.js"),__vite__mapDeps([42,1,2,3]))),H=m(()=>c(()=>import("./ProductReviews-WsQyoX_8.js"),__vite__mapDeps([43,44,1,2,3,45,46,8,9,47]))),E=m(()=>c(()=>import("./index-_04Sks9N.js").then(_=>_.U),__vite__mapDeps([2,1,3]))),Q=m(()=>c(()=>import("./ModalFullscreenImage-DOPjMZQ8.js"),__vite__mapDeps([48,1,21,49,50,20,22,51,2,3]))),le=m(()=>c(()=>import("./ModalProductDetail-7PqAGFOd.js"),__vite__mapDeps([52,1,2,3]))),ce=m(()=>c(()=>import("./ModalProductShare-DCg1K_Um.js"),__vite__mapDeps([53,1,54,2,3,55]))),me=m(()=>c(()=>import("./ModalPushToMix-CH3QnXSl.js"),__vite__mapDeps([56,1,2,3,57,58]))),ue=m(()=>c(()=>import("./ModalRemoveItem-DbSu_hH3.js"),__vite__mapDeps([59,1,2,3]))),de=m(()=>c(()=>import("./index-_04Sks9N.js").then(_=>_.Z),__vite__mapDeps([2,1,3]))),_e=m(()=>c(()=>import("./ProductCustomSectionProchazka-1f8y1MNk.js"),__vite__mapDeps([60,2,1,3]))),pe=m(()=>c(()=>import("./ProductTabControl-p2Osbnhl.js"),__vite__mapDeps([61,25,2,1,3,40,62,63,32,64,43,44,45,46,8,9,47,65]))),X=Re(),i=X.fullPath,F=h(X.params.permalink),{t:T}=fe(),{setNavbar:ze}=Je(),{isFavorite:he}=ke(),j=Ue(),Y=ke(),{getCurrentCustomer:q,isSignedIn:I}=De(Y);ze({backgroundColor:"bg-primary-700"});const V=h(!0),z=h(),f=h(),k=h(null),L=h(null),Z=h(!1),ee=h(!1),$=h(!1),M=h(!1),G=h(null),S=h(null),P=h(null),ve=async()=>{const{data:_}=await se.get(`products/${z.value.id}/product_comments?top=false&limit=all`);P.value=_},te=async()=>{const{data:_}=await se.get(`products/${z.value.id}/product_comments?top=true&limit=1`);S.value=_},K=async()=>{const{data:_}=await Ye.get("news?limit=1&kind=product_detail");G.value=_.news[0]},oe=async()=>{try{const{data:_}=await se.get(`products/${F.value}?limit=10`);z.value=_.product,f.value=_.productVariants,ve(),te(),K(),V.value=!1,ye(),Qe({page:{type:"product",title:_.product.name,url:Xe(`https://www.mixit.sk//${i}`),categories:_.product.categories.map(D=>D.title)}}),xo({email:I.value?q.value.email:"",phone:`${I.value?q.value.phonePrefix:""}${I.value?q.value.phone:""}`},_.product,{isFavorite:he(_.product.id)})}catch{window.location="/404"}};oe();const J=g(()=>S.value?S.value.comments.length>0?S.value.comments:S.value.variantsComments:[]),U=g(()=>P.value?P.value.variantsComments.length>0?[...P.value.comments,...P.value.variantsComments]:P.value.comments:[]),O=h(1),u=_=>{O.value=_},C=g(()=>z.value.state==="removed"||z.value.state==="hidden"),ge=new Set(["vanocni-mix-sada-s-termoskou-2go","mixitea-kouzelna-zima-sada-s-termoskou-2go","mixit-2go-termoska-s-cajovym-sitkem-420-ml-ruzova","mixit-2go-termoska-s-cajovym-sitkem-420-ml-mintova","mintova-sada-mixit-2go","ruzova-sada-mixit-2go","vianocny-mix-sada-s-termoskou-2go","mixitea-carovna-zima-sada-s-termoskou-2go","mixit-2go-termoska-s-cajovym-sitkom-420-ml-ruzova","mixit-2go-termoska-s-cajovym-sitkom-420-ml-mentolova","mentolova-sada-mixit-2go","ruzova-sada-mixit-2go","mixitea-magiczna-zima-zestaw-z-termosem-2go","mixit-2go-termos-z-sitkiem-420-ml-rozowy","mixit-2go-termos-z-sitkiem-420-ml-mietowy","mietowy-zestaw-mixit-2go","rozowy-zestaw-mixit-2go","bozonarodzeniowy-mix-zestaw-z-termosem-2go","mixit-2go-termosz-teaszurovel-420-ml-menta","mixit-2go-termosz-teaszurovel-420-ml-pink","karacsonyi-mix-szett-2go-termosszal","mixitea-karacsonyi-tea-szett-2go-termosszal","mixit-2go-szett-pink","mixit-2go-szett-mentazold","mixitea-ceai-de-craciun-set-cu-termos-2go","mixit-2go-termos-cu-filtru-de-ceai-420-ml-roz","mixit-2go-termos-cu-filtru-de-ceai-420-ml-menta","mix-de-craciun-set-cu-termos-2go","set-mixit-2go-menta","set-mixit-2go-roz"]),ne=new Set(["orisky-z-pece-samuraje-jirky-bjp-prochazky-power-crunch","oriesky-z-pece-samuraja-jirky-bjp-prochazku-power-crunch","pieczone-orzechy-jirky-prochazky-power-crunch","kemences-diofelek-power-crunch-jirka-bjp-prochazkatol","nuci-coapte-ale-samuraiului-jirky-bjp-prochazky-power-crunch","gebackene-nuesse-aus-dem-ofen-cashew-und-kakaobohnen"]),re=g(()=>ge.has(z.value.permalink)),ie=g(()=>ne.has(z.value.permalink)),B=h(!1),w=h(be),ye=async()=>{var D;const _=document.querySelector("#footer-wrapper");if(_ instanceof HTMLElement&&_.getBoundingClientRect().top<window.innerHeight+400&&!B.value&&!V.value){switch(B.value=!0,w.value){case be:{Z.value=!0,w.value=Te;break}case Te:{ee.value=!0,w.value=je;break}case je:{$.value=!0,w.value=Ve;break}case Ve:{M.value=!0,w.value=Le;break}case Le:{k.value=await j.loadCrossSell("quantity=6&kind=product_detail_cross_sell"),w.value=Se;break}case Se:{L.value=(D=(await se.get(`products/${z.value.id}/similar_products`)).data)==null?void 0:D.similarProducts,w.value=Bo;break}}B.value=!1}};window.addEventListener("scroll",async()=>{await ye()});const Me=h("comments"),Oe=()=>{setTimeout(()=>{window.scrollTo({behavior:"smooth",top:document.querySelector("#tabControl").offsetTop+document.querySelector("#main").offsetTop-20}),u(3)},500)};return rt(()=>{const _=i.indexOf("#");_!==-1&&i.slice(Math.max(0,_+1))===Me.value&&Oe()}),it((_,D,N)=>{F.value=_.params.permalink,V.value=!0,M.value=!1,w.value=be,oe(),N()}),(_,D)=>(a(),p(xe,null,[V.value?l("",!0):(a(),b(st,{key:0,"include-footer-gap":!1},{default:x(()=>[n("div",Po,[Co,z.value.productSuccessor?(a(),b($e,{key:0,product:z.value.productSuccessor},null,8,["product"])):l("",!0),s(ao,{product:z.value,"product-variants":f.value,"is-hidden-product":C.value,"active-tab":O.value,"comments-count":U.value.length+J.value.length,onChangeActiveTab:u},null,8,["product","product-variants","is-hidden-product","active-tab","comments-count"]),Z.value?(a(),b(r(pe),{key:1,product:z.value,"active-tab":O.value,"top-comments":J.value,comments:U.value,onChangeActiveTab:u},null,8,["product","active-tab","top-comments","comments"])):l("",!0),ee.value&&z.value.videoUrl?(a(),p("div",Eo,[s(r(E),{path:"waveOne",color:"text-primary-100",class:"relative mt-n5 d-none d-lg-block"}),n("div",To,[n("div",jo,[n("div",Vo,[s(r(t),{class:"col-12 mt-5",product:z.value},null,8,["product"])])])]),s(r(E),{path:"waveOne",color:"text-primary-200",class:"relative mt-n5 d-none d-lg-block"})])):l("",!0),re.value&&$.value?(a(),p("div",Lo,[s(r(E),{path:"waveOne",color:"text-primary-200",class:"relative mt-n5 d-none d-lg-block"}),s(r(A))])):l("",!0),ie.value&&$.value?(a(),p("div",So,[s(r(E),{path:"waveOne",color:"text-primary-200",class:"relative mt-n5 d-none d-lg-block"}),s(r(_e))])):l("",!0),n("div",Do,[n("div",Ro,[n("div",Ao,[(a(!0),p(xe,null,at(z.value.images.filter(N=>N.position!==null),(N,Be)=>(a(),b(r(d),{key:Be,class:"px-1 py-4 py-md-6 py-lg-6 order-0",item:N,"item-position":N.position},null,8,["item","item-position"]))),128)),M.value?(a(),p("div",Io,[n("header",$o,[n("h2",Mo,v(r(T)("comment_moment")),1)]),n("div",Oo,[s(r(H),{product:z.value,"active-tab":O.value,"top-comments":J.value,comments:U.value},null,8,["product","active-tab","top-comments","comments"])])])):l("",!0),M.value?(a(),b(r(d),{key:1,class:"px-1 py-4 py-md-6 py-lg-6 order-0",item:G.value,"item-position":"bottom"},null,8,["item"])):l("",!0)])])]),k.value?(a(),b(r(e),{key:5,"cross-sell-products":k.value,class:"order-10","show-negative-top-wave":!0,"slider-id":"recommend-to-buy"},null,8,["cross-sell-products"])):l("",!0),L.value?(a(),b(r(y),{key:6,"similar-products":L.value},null,8,["similar-products"])):l("",!0)])]),_:1})),s(W,{title:r(T)("copy_link"),"modal-id":"share-product"},{default:x(()=>[s(r(ce))]),_:1},8,["title"]),s(W,{title:r(T)("watchdog_title"),"modal-id":"modal-watchdog"},{default:x(()=>[s(r(de))]),_:1},8,["title"]),s(W,{"modal-id":"product-detail-modal"},{default:x(()=>[s(r(le))]),_:1}),s(W,{title:r(T)("choose_type_of_mix_title"),"modal-id":"push-to-mix-modal"},{default:x(()=>[s(r(me))]),_:1},8,["title"]),s(W,{"modal-id":"modal-fullscreen-product-image","background-color":"bg-white","wave-color":"text-white"},{default:x(()=>[s(r(Q))]),_:1}),s(W,{title:r(T)("remove_item_title"),"modal-id":"modal-remove-item"},{default:x(()=>[s(r(ue))]),_:1},8,["title"])],64))}};typeof Ee=="function"&&Ee(No);export{No as default};