Publish Nostr Event

{#if !isValidKind(kind)}
Kind must be an integer between 0 and 65535 (NIP-01).
{/if} {#if Number(kind) === 30040}
30040 - Publication Index: {get30040EventDescription()}
{/if}
{#if extractedMetadata.length > 0}

Extracted Metadata (from AsciiDoc header)

{#each extractedMetadata as [key, value], i}
{key}:
{/each}
{/if}
{#each tags as [key, value], i}
updateTag(i, (e.target as HTMLInputElement).value, tags[i][1])} /> updateTag(i, tags[i][0], (e.target as HTMLInputElement).value)} />
{/each}
{#if dTagError}
{dTagError}
{/if}
{#if loading} Publishing... {/if} {#if error}
{error}
{/if} {#if success}
{success}
Relays: {publishedRelays.join(", ")}
{#if lastPublishedEventId}
Event ID: {lastPublishedEventId}
{/if} {/if}
{#if showWarning}

Warning

{warningMessage}

{/if}