(replying = !replying)} disabled={comment.post.locked || disabled || !profile.current.jwt} icon={ChatBubbleOvalLeft} > {$t('comment.reply')}
{#if profile.current?.user && (amMod(profile.current?.user, comment.community) || isAdmin(profile.current.user))}
{/if}
{#snippet target(attachment)}
{/snippet}
{ if (navigator.share) navigator.share?.({ url: comment.comment.ap_id, }) else navigator.clipboard.writeText(comment.comment.ap_id) }} icon={Share} > {$t('post.actions.more.share')}
{#if profile.current?.jwt} {#if comment.creator.id == profile.current.user?.local_user_view.person.id}
onedit?.(comment)} icon={PencilSquare}> {$t('post.actions.more.edit')}
{/if}
{ if (profile.current?.jwt) comment.saved = await save(comment, !comment.saved) }} icon={comment.saved ? BookmarkSlash : Bookmark} > {comment.saved ? $t('post.actions.unsave') : $t('post.actions.save')}
{#if profile.current?.user && profile.current.jwt && profile.current.user.local_user_view.person.id == comment.creator.id}
{ if (profile.current?.jwt) comment.comment.deleted = await deleteItem( comment, !comment.comment.deleted, ) }} icon={Trash} > {comment.comment.deleted ? $t('post.actions.more.restore') : $t('post.actions.more.delete')}
{/if} {#if profile.current.jwt && profile.current.user?.local_user_view.person.id != comment.creator.id}
report(comment)} color="danger-subtle" icon={Flag} > {$t('moderation.report')}
{/if} {/if}