{#if open}
  • {/if} {#each Array.from({ length: open ? count - 1 : count }, (_, i) => i) as item, i (item)}
  • {/each}