const c={sensorData:{light:"dark"},checkWinCondition:i=>{if(!Array.isArray(i))return!1;const n=i.some(e=>e?.action==="device"&&e?.device==="light"),s=i.some(e=>e?.action==="device"&&e?.device==="light"&&e?.state==="on"),t=i.some(e=>e?.action==="device"&&e?.device==="blinds"),d=i.some(e=>e?.action==="device"&&e?.device==="blinds"&&e?.state==="on");return n&&s&&t&&d}};export{c as winConfig};
