const f={checkWinCondition:(n,e,a,i)=>{if(!Array.isArray(n)||!(e===void 0?!0:!!e))return!1;const o=n.some(r=>r?.action==="switchOn");let t=Array.isArray(n)?n:[];t.length===0&&i&&Array.isArray(i.blocklyMoves)&&(t=i.blocklyMoves);const s=t.some(r=>r?r.action==="setLED"||r.action==="setTime":!1);return o&&s},allowDeferredWin:!0,cameraPan:{duration:.1,position:[0,3,60],lookAt:[0,0,0]}};export{f as winConfig};
