{#each groups as group (group.path)}
{#each group.threads as thread (thread.root.id)} {@const anchor = anchorOf(thread.root.location)} {@const isResolved = thread.root.resolved === true} {@const lines = thread.root.location && formatAnchorLines(thread.root.location)} {#each thread.replies as reply (reply.id)} {/each} {/each} {/each}