import{b as l,e as m,V as h,E as f,o as k,c as x,w as o,h as c,k as t,u as s,q as d,s as g,T as b}from"./entry.5c8819da.js";const w={class:"flex"},C=c("span",null,"Edit this page on GitHub",-1),E=l({__name:"PageEditLink",setup(L){const{page:a}=m(),r=h(),_=f(()=>{var e;return((e=r.value.github)==null?void 0:e.root)||"/"});return(e,v)=>{const i=d,p=g,u=b("GithubLink");return k(),x(u,{"content-dir":s(_),page:s(a)},{default:o(n=>[c("span",w,[t(p,{href:n==null?void 0:n.url,target:"_blank",rel:"noopener",class:"flex items-center inline-block gap-2 text-sm hover:text-primary-500 grow-0"},{default:o(()=>[t(i,{name:"heroicons-outline:external-link",class:"w-5 h-5"}),C]),_:2},1032,["href"])])]),_:1},8,["content-dir","page"])}}});export{E as _};
