const m={checkWinCondition:(e,u=!0)=>{if(!u||e?.length!==36)return!1;for(let c=0;c<4;c++){const t=c*9,r=e[t];if(!r||r.action!=="setLED"||r.type!=="led_rgb_abcd"||r.material!=="C"||r.color!=="red"||r.state!==!0)return!1;const l=e[t+1];if(!l||l.action!=="setTime"||l.time!==3)return!1;const a=e[t+2];if(!a||a.action!=="setLED"||a.type!=="led_rgb_abcd"||a.material!=="C"||a.color!=="off"||a.state!==!1)return!1;const n=e[t+3];if(!n||n.action!=="setLED"||n.type!=="led_rgb_abcd"||n.material!=="A"||n.color!=="green"||n.state!==!0)return!1;const o=e[t+4];if(!o||o.action!=="setTime"||o.time!==3)return!1;const i=e[t+5];if(!i||i.action!=="setLED"||i.type!=="led_rgb_abcd"||i.material!=="A"||i.color!=="off"||i.state!==!1)return!1;const f=e[t+6];if(!f||f.action!=="setLED"||f.type!=="led_rgb_abcd"||f.material!=="B"||f.color!=="yellow"||f.state!==!0)return!1;const d=e[t+7];if(!d||d.action!=="setTime"||d.time!==3)return!1;const s=e[t+8];if(!s||s.action!=="setLED"||s.type!=="led_rgb_abcd"||s.material!=="B"||s.color!=="off"||s.state!==!1)return!1}return!0},dialogues:[]};export{m as winConfig};
