0}>
1 ? root.edits.pop() : undefined} authorId={root.author.id} authorAlias={root.author.alias} reactions={root.reactions} embeds={parseEmbedIntoMap(root.embeds)} timestamp={root.timestamp} body={root.body} editComment={editComment && canEditComment(root.author.id) && partial(editComment, root.id)} reactOnComment={reactOnComment && partial(reactOnComment, root.id)}>
{#if replies.length > 0}
{#each replies as reply}
1 ? reply.edits.pop() : undefined} id={reply.id} authorId={reply.author.id} authorAlias={reply.author.alias} caption="replied" isReply isLastReply={replies[replies.length - 1] === reply} reactions={reply.reactions} embeds={parseEmbedIntoMap(reply.embeds)} timestamp={reply.timestamp} body={reply.body} editComment={editComment && canEditComment(reply.author.id) && partial(editComment, reply.id)} reactOnComment={reactOnComment && partial(reactOnComment, reply.id)} /> {/each}
{/if} {#if createReply}
{/if}