{#if query.data} {#each query.data.providers as p (p.id)} {@const l = local[p.id]} {@const r = results[p.id]}
{#snippet hint()} {supplies(p)} {#if note}{@render note(p)}{/if} {/snippet} {#if l} {/if} {#if l}
{#if p.requires_api_key} {/if} {#if p.testable} {/if} {#if r} {#if r.ok} Works{r.duration_ms ? ` · answered in ${r.duration_ms} ms` : ''} {:else} Didn't work: {r.error} {/if} {/if}
{/if}
{/each} {:else if query.isPending}

Loading…

{:else if query.isError}

Couldn't load the {noun}.

{:else}

None available.

{/if}