import{_ as y}from"./logo-horizontal-dc50b46c.js";import{j as b,x as g,N as B,aI as k,aK as V,p as e,q as n,w as a,t as o,A as t,c7 as h,a9 as v,H as p,C as c,F as f,bB as w,a2 as u,D,aq as A,bg as I,cb as S,_ as C}from"./dashboard-practitioner-b373edf1.js";import{A as P}from"./AuthMenu-f69250f7.js";import{V as $,a as x}from"./VSecondaryBtn-a2e49935.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[d]="8eba2455-2bba-4a85-a6f2-cebcb1c60b86",s._sentryDebugIdIdentifier="sentry-dbid-8eba2455-2bba-4a85-a6f2-cebcb1c60b86")}catch{}})();const L={key:0},N={key:1},j=b({__name:"AppBar",setup(s){const{xs:d,smAndUp:r}=g(),_=B(),m=k();return(i,H)=>{const l=V("router-link");return e(),n(S,{flat:"",color:"white"},{default:a(()=>[o(h,{absolute:"",color:"secondary",active:t(m).loading,indeterminate:t(m).loading},null,8,["active","indeterminate"]),o(I,{class:"d-flex align-center justify-center justify-md-start"},{default:a(()=>[o(l,{to:{name:"Home"},class:""},{default:a(()=>[o(v,{eager:"",inline:"",width:"175",src:y,class:"mr-2"})]),_:1}),t(r)?(e(),n(l,{key:0,class:"nav-menu-btn",density:"comfortable",to:{name:"Mission"}},{default:a(()=>[p(c(i.$t("appBar.our_mission")),1)]),_:1})):f("",!0),t(r)?(e(),n(l,{key:1,class:"nav-menu-btn",density:"comfortable",to:{name:"Home",hash:"#section-contact"}},{default:a(()=>[p(c(i.$t("appBar.contact")),1)]),_:1})):f("",!0),o(w),t(_).isLogged?(e(),n(P,{key:3})):(e(),u(A,{key:2},[o($,{to:{name:"PractitionerPresentation"}},{default:a(()=>[t(r)?(e(),u("span",L,c(i.$t("appBar.areYouPractitioner")),1)):(e(),u("span",N,c(i.$t("appBar.practitioner")),1))]),_:1}),t(r)?(e(),n(x,{key:0,to:{name:"Login"},"prepend-icon":"mdi-account-outline",class:"ml-2"},{default:a(()=>[p(c(i.$t("appBar.login")),1)]),_:1})):(e(),n(D,{key:1,to:{name:"Login"},variant:"outlined",icon:"mdi-account-outline",color:"secondary",class:"ml-2",density:"comfortable"}))],64))]),_:1})]),_:1})}}});const U=C(j,[["__scopeId","data-v-e454dff9"]]);export{U as D}; //# sourceMappingURL=AppBar-8194a01c.js.map