import{a as c,aC as n,f as s,c as i,o as r,b as u}from"./vue.D1BjjNmv.js";import{u as C,f as d,l as _}from"./index.D93ign_E.js";import{l as v}from"./logo-mini.D57drHvk.js";import{_ as k}from"./_plugin-vue_export-helper.DlAUqK2U.js";const m="/assets/logo.BeqAFxIy.png",h=c({name:"layoutLogo"}),x=c({...h,setup(S){const g=C(),{themeConfig:e}=n(g),f=s(()=>{let{isCollapse:a,layout:o}=e.value;return!a||o==="classic"||document.body.clientWidth<1e3}),t=()=>{if(e.value.layout==="transverse")return!1;e.value.isCollapse=!e.value.isCollapse},p=d(),{systemConfig:y}=n(p),l=s(()=>y.value);return s(()=>_.isEmpty(l.value["login.site_logo"])?v:l.value["login.site_logo"]),(a,o)=>f.value?(r(),i("div",{key:0,class:"layout-logo",onClick:t},o[0]||(o[0]=[u("img",{src:m,class:"layout-logo-medium-img"},null,-1)]))):(r(),i("div",{key:1,class:"layout-logo-size",onClick:t},o[1]||(o[1]=[u("img",{src:m,class:"layout-logo-size-img"},null,-1)])))}}),E=k(x,[["__scopeId","data-v-c09ca276"]]);export{E as default};
