{$t("user.settings.nwc")}
{$t("user.settings.nwcDescription")}
{#each apps as app, i} {@const last = i === apps.length - 1}
{app.name}
{#if app.max_amount > 0}
{s(app.spent, locale)} / {s(app.max_amount, locale)}
{#if app.budget_renewal !== "never"}
{app.budget_renewal}
{/if}
{/if}
copy(app.nwc)} class="btn !w-auto grow" class:btn-disabled={!app.secret} title={$t("accounts.copy")} >
{$t("accounts.copyNwc")}
{$t("accounts.connect")}
{/each}
{$t("accounts.newConection")}
{#if revealNwc}
{nwc}
copy(nwc)} type="button" class="btn grow">
{$t("accounts.copy")}
{$t("user.receive.showQR")}
{/if}
{$t("user.nostrPubkey")}
copy(npub)} aria-label="Copy" >
{$t("accounts.copy")}
{$t("accounts.qr")}
{#if extensionAvailable}
{$t("user.settings.syncWithExtension")}
{/if}
{#if user.nsec}
{$t("user.settings.nostrKeys")}
{$t("user.settings.nostrDescription")}
{#if revealNsec}
{$t("user.settings.hideNsec")} {:else}
{$t("user.settings.revealNsec")} {/if}
{#if revealNsec}
copy(nsec)} >
{nsec}
{/if}
{/if}