import{_ as h}from"./nuxt-link.3625b369.js";import{f,aL as b,y,z as $,k as N,_ as p,r as u,o as l,c,a as s,aM as C,b as n,t as v,w as d,Y as k,a3 as x,aN as B}from"./entry.27446522.js";const w=f({components:{NavigationComponents:b},setup(){const o=y(),{loggedIn:e,user:t}=$(o),a=N(!1);return{loggedIn:e,user:t,toggleNav:()=>{a.value=!a.value},displayNav:a}}},"$hcjc7driI8"),A={class:"page-header fixed-top"},z={class:"header-title"},I={class:"toggle-box"},V=s("span",{class:"sr-only"},"Toggle navigation",-1),j=s("span",{class:"icon-bar"},null,-1),D=s("span",{class:"icon-bar"},null,-1),F=s("span",{class:"icon-bar"},null,-1),S=[V,j,D,F],T=s("div",{class:"logo"}," Authup ",-1),Y={class:"page-navbar navbar-expand-md"},E={key:0,class:"navbar-nav nav-items navbar-gadgets"},H={class:"nav-item"},L={href:"javascript:void(0)",class:"nav-link"},M={class:"nav-item"},R=s("i",{class:"fa fa-cog"},null,-1),q={class:"nav-item"},G=s("i",{class:"fa fa-power-off"},null,-1);function J(o,e,t,a,r,g){const i=u("navigation-components"),_=h;return l(),c("div",null,[s("header",A,[s("div",z,[s("div",I,[s("button",{type:"button",class:"toggle-trigger",onClick:e[0]||(e[0]=(...m)=>o.toggleNav&&o.toggleNav(...m))},S)]),T]),s("nav",Y,[s("div",{id:"page-navbar",class:C(["navbar-content navbar-collapse collapse",{show:o.displayNav}])},[n(i,{class:"navbar-nav",tier:0}),o.loggedIn&&o.user?(l(),c("ul",E,[s("li",H,[s("a",L,[s("span",null,v(o.user.display_name?o.user.display_name:o.user.name),1)])]),s("li",M,[n(_,{to:"/settings",class:"nav-link"},{default:d(()=>[R]),_:1})]),s("li",q,[n(_,{to:"/logout",class:"nav-link"},{default:d(()=>[G]),_:1})])])):k("",!0)],2)])])])}const X=p(w,[["render",J]]),K=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(K,[["render",Q]]);export{Z as a,X as p};
