import{j as t,I as n,c4 as l,c5 as m}from"./vendor-mui-core-D7t4vMS5.js";import{z as i}from"./vendor-hooks-DAZ1H6Va.js";import{br as c}from"./vendor-ux-Dl3wVbv_.js";function f(){const{mode:r,toggleMode:o,prefer:e}=c(),{run:s}=i(()=>{o()},{wait:300});return o&&(e==="system"||window.blocklet?.theme?.prefer==="system")?t.jsx(n,{onClick:s,children:r==="light"?t.jsx(l,{}):t.jsx(m,{})}):null}export{f as g};
