{#each item.auctions as auction} {@const [x, y] = getAuctionCoordinates(auction)} {/each}