{#if nonSegmented} {#if ons > 0}
{/if} {#if offs > 0}
{/if} {:else} {#each {length: ons} as _}
{/each} {#each {length: offs} as _}
{/each} {/if}