0 ? 0.8 : 0.4} backgroundOpacity={robot.outputDriverCount > 0 ? 0.3 : 0.15} opacity={robot.outputDriverCount > 0 ? 1 : 0.7} onclick={handleClick} > {#if robot.outputDriverCount > 0} {#if robot.producers.length > 0} {#snippet children()} {#each robot.producers.slice(0, 2) as producer} {/each} {#if robot.producers.length > 2} {/if} {/snippet} {/if} {:else} {/if}