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