import{l as n}from"./logo-mini.da0d67fe.js";import{d as u,s as m,u as g,D as _,e,f as i,g as c,h as s,k as p}from"./index.2c7321ca.js";const d=["src"],f=["src"],y=u({name:"layoutLogo"}),v=u({...y,setup(h){const{themeConfig:o}=m(g()),r=_(()=>{let{isCollapse:a,layout:t}=o.value;return!a||t==="classic"||document.body.clientWidth<1e3}),l=()=>{if(o.value.layout==="transverse")return!1;o.value.isCollapse=!o.value.isCollapse};return(a,t)=>e(r)?(i(),c("div",{key:0,class:"layout-logo",onClick:l},[s("img",{src:e(n),class:"layout-logo-medium-img"},null,8,d),s("span",null,p(e(o).globalTitle),1)])):(i(),c("div",{key:1,class:"layout-logo-size",onClick:l},[s("img",{src:e(n),class:"layout-logo-size-img"},null,8,f)]))}});export{v as _};
