{#each mediaItems as media}
{/each}
{#if dots.length > 1}
{#each dots as dot, i (dot.i)} {/each}
{/if}