import{a as k}from"./vendor-hooks-BrgYeCrj.js";import{G as d,L as g}from"./vendor-mui-core-CDEc-eG6.js";function f({key:o="sm"}={}){const e=d();return g(e.breakpoints.down(o))}function b({key:o="sm",meta:e={},theme:t={},square:a}={}){const r=f({key:o}),n=d(),s=k(()=>t?.palette?.mode||n.palette.mode,[n,t]);return k(()=>{const{appLogo:p,appLogoDark:m,appLogoRect:u,appLogoRectDark:L}=Object.assign({},window.blocklet??{},e),c=s==="dark",i=(c?m:p)||p;return r||a?i:(c?L||m:u)||u||i||""},[s,e,r,a])}export{b as M};
