{#if event.kind !== 0 && getEventTitle(event)}

{getEventTitle(event)}

{/if} {#if event.kind === 0} {/if}
{#if toNpub(event.pubkey)} Author: {@render userBadge( toNpub(event.pubkey) as string, profile?.display_name || undefined, )} {:else} Author: {profile?.display_name || event.pubkey} {/if}
Kind: {event.kind} ({getEventTypeDisplay(event)})
{#if getEventSummary(event)}
Summary:

{getEventSummary(event)}

{/if} {#if event.kind !== 0}
Content:
{#if shouldTruncate} {/if}
{/if} {#if event.kind === 0} {/if}
Show details

Identifiers:

{#each getIdentifiers(event, profile) as identifier}
{identifier.label}:
{#if identifier.link} {identifier.value.slice(0, 20)}...{identifier.value.slice(-8)} {:else} {identifier.value.slice(0, 20)}...{identifier.value.slice(-8)} {/if}
{/each}
{#if event.tags && event.tags.length}

Event Tags:

{#each event.tags as tag} {@const tagInfo = getTagButtonInfo(tag)} {#if tagInfo.text && tagInfo.gotoValue} {/if} {/each}
{/if}

Raw Event JSON:

{JSON.stringify(event.rawEvent(), null, 2)}