import{f as v,j as k,s as P,z as f,_ as x,l as a,o as r,c as i,a as e,t as u,X as h,b as t,w as b,d as g,k as C}from"./qGWCsquX.js";import{p as w,a as I}from"./3bn9GrLP.js";import{u as N}from"./CvqZkrWf.js";import"./BNEsDCLV.js";const V=v({setup(){const s=k(),{loggedIn:d,accessTokenExpireDate:n,realmManagement:_}=P(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"},D={key:0,class:"sidebar-header"},E={class:"text-center"},M={class:"mt-auto"},S={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"},y=["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",D,[e("div",E,u(s.realmManagement.name),1)])):h("",!0),t(o,{class:"sidebar-menu navbar-nav",tier:1}),e("div",M,[s.loggedIn?(r(),i("div",S,[e("small",null,[t(p,{time:s.tokenExpiresIn},{default:b(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"},[A,g(),L],8,y)])])])])])}const j=x(V,[["render",R]]),z=v({components:{PageHeader:w,PageSidebar:j,PageFooter:I}},"$NdMIYxTP3w"),K={id:"app"},X={class:"page-wrapper"},Y={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",K,[t(o),e("div",X,[t(p),e("div",Y,[t(c)])]),t($)])}const W=x(z,[["render",q]]);export{W as default};
