/span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">gridSize</span><span style="color: #000000"> = </span><span style="color: #001080">isVideoEnabled</span><span style="color: #000000"> ? </span><span style="color: #001080">tiles</span><span style="color: #000000">.</span><span style="color: #001080">length</span><span style="color: #000000"> + </span><span style="color: #098658">1</span><span style="color: #000000"> : </span><span style="color: #