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