{#each JSON.parse(metadata) as m}
{#if m[0] === "text/plain"}
{m[1]}
{/if} {#if m[0].includes("image")}
{/if}
{/each}
{#if form?.error}
{form.error}
{/if} {JSON.stringify(currencies[currency])}
{#each currencies as c}
{c.symbol}
{/each}
{amount} {rate} {currency}
{#if loading}
{:else} {$t("payments.send")} {/if}