const f={checkWinCondition:(n,s=!0)=>{if(!s||!n)return!1;for(let r=0;r<4;r++){const i=r*3,t=n[i];if(!t||t.action!=="setLED"||t.type!=="led_rgb_abcd"||t.material!=="A"||t.color!=="random"||t.state!==!0)return!1;const e=n[i+1];if(!e||e.action!=="setLED"||e.type!=="led"||e.material!=="A"||e.state!==!0)return!1;const a=n[i+2];if(!a||a.action!=="setTime"||a.time!==2)return!1}return!0}};export{f as winConfig};
