import{_ as h}from"./nuxt-link.40687dc5.js";import{f,aE as b,y,z as $,k as C,_ as p,r as u,o as l,c,a as s,aF as N,b as n,t as v,w as d,V as k,a1 as x,aG as B}from"./entry.c7cd0af6.js";const w=f({components:{NavigationComponents:b},setup(){const o=y(),{loggedIn:e,user:t}=$(o),a=C(!1);return{loggedIn:e,user:t,toggleNav:()=>{a.value=!a.value},displayNav:a}}},"$hcjc7driI8"),A={class:"page-header fixed-top"},V={class:"header-title"},z={class:"toggle-box"},F=s("span",{class:"sr-only"},"Toggle navigation",-1),I=s("span",{class:"icon-bar"},null,-1),j=s("span",{class:"icon-bar"},null,-1),D=s("span",{class:"icon-bar"},null,-1),E=[F,I,j,D],S=s("div",{class:"logo"}," Authup ",-1),T={class:"page-navbar navbar-expand-md"},Y={key:0,class:"navbar-nav nav-items navbar-gadgets"},G={class:"nav-item"},H={href:"javascript:void(0)",class:"nav-link"},R={class:"nav-item"},q=s("i",{class:"fa fa-cog"},null,-1),J={class:"nav-item"},K=s("i",{class:"fa fa-power-off"},null,-1);function L(o,e,t,a,r,g){const i=u("navigation-components"),_=h;return l(),c("div",null,[s("header",A,[s("div",V,[s("div",z,[s("button",{type:"button",class:"toggle-trigger",onClick:e[0]||(e[0]=(...m)=>o.toggleNav&&o.toggleNav(...m))},E)]),S]),s("nav",T,[s("div",{id:"page-navbar",class:N(["navbar-content navbar-collapse collapse",{show:o.displayNav}])},[n(i,{class:"navbar-nav",tier:0}),o.loggedIn&&o.user?(l(),c("ul",Y,[s("li",G,[s("a",H,[s("span",null,v(o.user.display_name?o.user.display_name:o.user.name),1)])]),s("li",R,[n(_,{to:"/settings",class:"nav-link"},{default:d(()=>[q]),_:1})]),s("li",J,[n(_,{to:"/logout",class:"nav-link"},{default:d(()=>[K]),_:1})])])):k("",!0)],2)])])])}const X=p(w,[["render",L]]),M=x({components:{BContainer:B},computed:{year(){return new Date().getFullYear()}}});const O={class:"page-footer"},P={class:"copyright"};function Q(o,e,t,a,r,g){const i=u("BContainer");return l(),c("div",null,[s("div",O,[s("div",P," © Authup "+v(o.year),1)]),n(i,{toast:{root:!0},fluid:"sm",position:"position-fixed",style:{"z-index":"9999"}})])}const Z=p(M,[["render",Q]]);export{Z as a,X as p};
