import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{$lt as t,Jw as n,Kw as r,Qlt as i,qw as a}from"./app-initial-BHB6SClA.js";function o(e,t){t!=null&&e.set(a,t),e.get(r)===!1&&e.get(l)===`idle`&&e.set(l,`pending`),e.set(r,!0)}function s(e){e.set(l,`idle`),e.set(a,void 0),e.set(r,!1)}function c({deviceStatus:e,hasEverBeenDetected:t,onboardingState:n}){return n===`pending`?!0:n!==`idle`||t!==!1?!1:e===`detected`||e===`connected`}var l,u=e((()=>{i(),n(),l=t(`codex-micro-onboarding-state`,`idle`)}));export{c as a,s as i,u as n,o as r,l as t};
//# sourceMappingURL=codex-micro-onboarding-state-B88rYlQN.js.map