import{y as c,E as r,_ as i,d as u,o as p,f as _,w as l,h as m,i as y,g as d,t as f}from"./entry-d195bacb.mjs";const x=()=>{const e=c();e!=null&&e.github||console.warn("If you want to use `useRepository` composable, you must specify: `owner`, `repo` and `branch` in your nuxt.config `github` key.");const s=r("docus-last-release");return{repository:r("docus-repository"),last:s}},b=u({name:"LastRelease",setup(e,{expose:s}){s();const{last:o}=x(),t={last:o};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}});function h(e,s,o,t,v,g){const n=y;return t.last?(p(),_(n,{key:0,to:"/releases",class:"font-semibold transition-colors transition-base text-secondary hover:text-primary-hover","exact-active-class":"text-primary-active"},{default:l(()=>{var a;return[d(f((a=t.last)==null?void 0:a.name),1)]}),_:1})):m("",!0)}var w=i(b,[["render",h]]);export{w as default};
