import{d as g,N as c,c as s,e as r,f as u,s as t,A as p,u as y}from"./vue.BxlDVA1H.js";import{u as v,T as C,ad as h}from"./index.lP_uh0LI.js";import{l as k}from"./logo-mini.D83j9Aw9.js";import{_ as S}from"./_plugin-vue_export-helper.DlAUqK2U.js";const T=["src"],x={style:{"font-size":"x-large"}},z=["src"],B=g({name:"layoutLogo"}),L=g({...B,setup(b){const m=v(),{themeConfig:o}=c(m),f=s(()=>{let{isCollapse:n,layout:i}=o.value;return!n||i==="classic"||document.body.clientWidth<1e3}),l=()=>{if(o.value.layout==="transverse")return!1;o.value.isCollapse=!o.value.isCollapse},_=C(),{systemConfig:d}=c(_),e=s(()=>d.value),a=s(()=>h(e.value["login.site_logo"])?k:e.value["login.site_logo"]);return(n,i)=>f.value?(u(),r("div",{key:0,class:"layout-logo",onClick:l},[t("img",{src:a.value,class:"layout-logo-medium-img"},null,8,T),t("span",x,p(e.value["login.site_title"]||y(o).globalTitle),1)])):(u(),r("div",{key:1,class:"layout-logo-size",onClick:l},[t("img",{src:a.value,class:"layout-logo-size-img"},null,8,z)]))}}),D=S(L,[["__scopeId","data-v-4077f524"]]);export{D as default};
