import{j as t,I as n,c1 as l,c2 as m}from"./vendor-mui-core-CDEc-eG6.js";import{A as i}from"./vendor-hooks-BrgYeCrj.js";import{bs as c}from"./vendor-ux-bFYdDLNG.js";function f(){const{mode:s,toggleMode:o,prefer:e}=c(),{run:r}=i(()=>{o()},{wait:300});return o&&(e==="system"||window.blocklet?.theme?.prefer==="system")?t.jsx(n,{onClick:r,children:s==="light"?t.jsx(l,{}):t.jsx(m,{})}):null}export{f as g};
