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