{comment?.expand?.user?.username}
{#if isModerator(comment)}
{/if} {#if comment?.user === opUserId}
OP
{/if}
·
{formatDate(comment?.created)} ago
{#if !$editCommentClicked[comment?.id]} {@html addClassesToHtml(marked(comment?.comment))} {:else}
{/if}
{#if comment?.image?.length !== 0}
{/if}
{#if !data?.user}
{:else}
{/if}
{upvoteCounter - downvoteCounter }
{#if !data?.user}
{:else}
{/if}
toggle('reply')}> Reply
{#if data?.user?.id === comment?.expand?.user?.id}
toggle('edit')}> Edit
{/if} {#if data?.user?.id === comment?.expand?.user?.id || data?.user?.id === moderators?.at(0).user}
Delete
{/if}
{#if $replyCommentClicked[comment?.id]}
{#if data?.user}
{/if}
{/if}
{#if comment?.children}
{#each comment.children as comment}
item?.user === data?.user?.id)} /> {/each}
{/if}
Are you sure you want to delete the comment?
No, cancel
Yes, I'm sure
✕
Are you sure you want to report the comment?
No, cancel
Yes, I'm sure