{#if constructor && initialSettings && (visible || inSelectedPath)}
{#if hasMissingRequiredSettings}
{:else if children.length} {#each children as child (child._id)}
{/each} {:else if emptyState} {#if isScreen}
{:else}
{/if} {:else if isBlock}
{/if}
{/if}