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