{#each tabs as tab (tab.mode)} {/each}
{#if source === "patch"} {#snippet children({ id })}