{#if type} Loading {type} ...{percent ? ` ${percent}%` : ''} {:else}
{/if}