{#if loading} {#await loading} {:then mod} {@const Icon = mod.default as typeof Flag} {:catch} {/await} {:else} {/if}