import{f as v,aD as P,aE as b,y as k,z as w,l as f,_ as x,r as o,o as r,c as i,a as e,t as u,V as h,b as t,w as C,d as g,A as N}from"./entry.c7cd0af6.js";import{p as I,a as T}from"./footer.88a08507.js";import{u as y}from"./api.45358b0b.js";import"./nuxt-link.40687dc5.js";const D=v({components:{Countdown:P,NavigationComponents:b},setup(){const s=k(),{loggedIn:d,accessTokenExpireDate:a,realmManagement:_}=w(s),l=f(()=>a.value?a.value.getTime()-Date.now():0),m=f(()=>{const n=y();return new URL("docs/",n.getBaseURL()).href});return{loggedIn:d,tokenExpiresIn:l,docsUrl:m,realmManagement:_}}},"$uKgLM6mddT"),E={class:"page-sidebar"},M={key:0,class:"sidebar-header"},S={class:"text-center"},V={class:"mt-auto"},A={key:0,class:"font-weight-light d-flex flex-column ms-3 me-3 mb-1 mt-auto"},B=e("i",{class:"fa fa-clock pr-1"},null,-1),F={class:"text-success"},H={class:"sidebar-menu nav-items navbar-nav"},U={class:"nav-item"},L=["href"],R=e("i",{class:"fa fa-file"},null,-1),z=e("span",{class:"nav-link-text"},"API Docs",-1);function K(s,d,a,_,l,m){const n=o("navigation-components"),p=o("Countdown");return r(),i("div",null,[e("div",E,[s.realmManagement?(r(),i("div",M,[e("div",S,u(s.realmManagement.name),1)])):h("",!0),t(n,{class:"sidebar-menu navbar-nav",tier:1}),e("div",V,[s.loggedIn?(r(),i("div",A,[e("small",null,[t(p,{time:s.tokenExpiresIn},{default:C(c=>[B,g(" The session expires in "),e("span",F,u(c.minutes)+" minute(s), "+u(c.seconds)+" second(s)",1),g(". ")]),_:1},8,["time"])])])):h("",!0),e("ul",H,[e("li",U,[e("a",{class:"nav-link",href:s.docsUrl,target:"_blank"},[R,g(),z],8,L)])])])])])}const Y=x(D,[["render",K]]),j=v({components:{PageHeader:I,PageSidebar:Y,PageFooter:T}},"$NdMIYxTP3w");const q={id:"app"},G={class:"page-wrapper"},J={class:"page-content"};function O(s,d,a,_,l,m){const n=o("PageHeader"),p=o("PageSidebar"),c=N,$=o("PageFooter");return r(),i("div",q,[t(n),e("div",G,[t(p),e("div",J,[t(c)])]),t($)])}const ee=x(j,[["render",O]]);export{ee as default};
