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