{#if type} Loading {type} ...{percent ? ` ${percent}%` : ''} {:else} {@render children?.()} {/if}