Files
nuxt-mongoose/_nuxt/DocsPageBottom.3809a2d6.js

2 lines
991 B
JavaScript

import{d as h,V as x,aa as b,J as t,b as s,c as a,g as n,w as d,f as _,D as k,e as m,t as D,a9 as v,p as y,i as I,k as B}from"./entry.3e6aff8a.js";import S from"./ProseA.d2f1b482.js";import{_ as V}from"./EditOnLink.vue.004010ce.js";const w=e=>(y("data-v-3972220b"),e=e(),I(),e),C={key:0,class:"docs-page-bottom"},N={key:0,class:"edit-link"},E=w(()=>m("span",null," Edit this page on GitHub ",-1)),P={key:1},T=h({__name:"DocsPageBottom",setup(e){const{page:o}=x(),{config:r}=b();return(U,A)=>{var c,p,i;const u=v,l=S,f=V;return t(o)?(s(),a("div",C,[(p=(c=t(r))==null?void 0:c.github)!=null&&p.edit?(s(),a("div",N,[n(u,{name:"uil:edit"}),n(f,{page:t(o)},{default:d(({url:g})=>[n(l,{to:g},{default:d(()=>[E]),_:2},1032,["to"])]),_:1},8,["page"])])):_("",!0),(i=t(o))!=null&&i.mtime?(s(),a("span",P,[k("Updated on "),m("b",null,D(new Intl.DateTimeFormat("en-US").format(Date.parse(t(o).mtime))),1)])):_("",!0)])):_("",!0)}}});const J=B(T,[["__scopeId","data-v-3972220b"]]);export{J as default};