import{s as i,A as b,o as s,e as _,k as r,l as o,f as t,t as h,m as a,g as l}from"./vendor-CI5NvTnj.js";import{u as x,b as k,m as f}from"./index-BRMV7KFd.js";const v={class:"scroll-menu p-1"},y=t("i",{class:"mi-bird icon-28px"},null,-1),g=t("i",{class:"mi-cart icon-28px"},null,-1),S={class:"d-inline-block p-2 mr-1 absolute position-top position-right bg-danger rounded-pill text-nowrap text-sm text-white line-height-1"},C={class:"absolute position-centered text-sm text-white line-height-1"},j=t("i",{class:"mi-heart icon-28px"},null,-1),w=t("i",{class:"mi-heart icon-28px"},null,-1),B=t("i",{class:"mi-bars icon-28px"},null,-1),I=[B],T={__name:"ScrollMenu",setup(M){const{openModal:c}=x(),d=k(),{isSignedIn:p}=i(d),u=f(),{getTotalItemsInCart:m}=i(u);return(P,n)=>{const e=b("router-link");return s(),_("div",v,[r(e,{to:{name:"rootPath"},class:"js-favourite btn btn-primary p-1 border-0 rounded-pill d-block","aria-label":"Favorite mixes"},{default:o(()=>[y]),_:1}),r(e,{to:{name:"cartsPath"},class:"js-basket relative btn btn-outline-primary p-1 border-0 rounded-pill d-block","aria-describedby":"tooltip-delivery","aria-label":"Cart"},{default:o(()=>[g,t("span",S,[t("span",C,h(a(m)),1)])]),_:1}),a(p)?(s(),l(e,{key:0,to:{name:"customerMixesPath"},class:"js-favourite btn btn-outline-primary p-1 border-0 rounded-pill d-block","aria-label":"Favorite mixes"},{default:o(()=>[j]),_:1})):(s(),l(e,{key:1,to:{name:"signInPath"},class:"js-favourite btn btn-outline-primary p-1 border-0 rounded-pill","aria-label":"Favorite mixes"},{default:o(()=>[w]),_:1})),t("button",{type:"button",class:"btn btn-outline-primary p-1 border-0 rounded-pill d-block","aria-label":"Open the main menu",onClick:n[0]||(n[0]=F=>a(c)({id:"modal-id-menu"}))},I)])}}};export{T as _};