{#if open} {#if !contained && !inline}
e.key === 'Escape' && onClose()} role="button" tabindex="-1">
{/if}
{#if !inline}
Comments ({totalCount})
{/if}
{#if before}
{@render before()}
{/if} {#if cursor}
{#if loadingMore}
Loading... {:else} Load earlier comments {/if}
{/if} {#if loading}
{:else if organized.length === 0}
No comments yet. Be the first!
{:else} {#each organized as comment (comment.uri)}
{/each} {/if}
{#if error}
{error}
{/if} {#if footer} {/if} {#if replyToHandle}
Replying to @{replyToHandle}
{/if}
{#if $viewer}
{/if}
e.key === 'Enter' && handlePost()} />
{#if posting}
{:else} Post {/if}
{/if}