import{_ as u,d as x,G as b,s as y,o as t,c as r,b as _,w as g,f as k,L as v,a as f,t as w,h as C,F as B,A as S,j}from"./entry-d195bacb.mjs";import D from"./SocialIcons-d7205ab6.mjs";import F from"./Container-31398368.mjs";const L=x({name:"Footer",setup(d,{expose:l}){l();const{theme:s}=b(),e=y(()=>{var c,o;return((o=(c=s.value)==null?void 0:c.footer)==null?void 0:o.icons)||[]}),a={theme:s,icons:e};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),N={class:"py-6 h-footer bg-gray-50 dark:bg-gray-800 dark:bg-opacity-25 sm:py-0"},V=["href"],I={class:"text-sm font-semibold"},A={class:"flex items-center gap-4"},E=["aria-label","href"];function G(d,l,s,e,a,c){const o=j,p=D,h=F;return t(),r("footer",N,[_(h,{padded:"",class:"flex flex-col items-center justify-between h-full gap-y-4 sm:flex-row"},{default:g(()=>{var m,i;return[(i=(m=e.theme)==null?void 0:m.footer)!=null&&i.credits?(t(),r("a",{key:0,href:e.theme.footer.credits.href,rel:"noopener",target:"_blank",class:"flex items-center mb-3 transition-colors text-secondary transition-base hover:text-secondary-hover sm:mb-0"},[(t(),k(v(e.theme.footer.credits.icon||"Logo"),{class:"w-4 h-4 mr-2 fill-current"})),f("p",I,w(e.theme.footer.credits.text),1)],8,V)):C("",!0),f("div",A,[(t(!0),r(B,null,S(e.icons,n=>(t(),r("a",{key:n.label,rel:"noopener","aria-label":n.label,href:n.href,target:"_blank",class:"flex items-center text-sm font-medium icon-base"},[_(o,{name:n.component},null,8,["name"])],8,E))),128)),_(p)])]}),_:1})])}var z=u(L,[["render",G]]);export{z as default};
