{#if event.kind === REPLY}

{$parentProfileDisplay}

{$parentEvent?.content || "View note"}

{/if}
{#if showPubkey} {:else}
{/if}
{#if showPubkey}
{$profileDisplay} {formatTimestampAsTime(event.created_at)}
{/if}
{#if isPending} Sending... {:else if failure} Failed to send! {/if}
{#if $reactions.length > 0 || $zaps.length > 0}
{#each groupBy(e => e.content, uniqBy(e => e.pubkey + e.content, $reactions)).entries() as [content, events]} {/each}
{/if}