{#if node.kind === 'column'}
{#each node.children as child}
{/each}
{:else if node.kind === 'row' || node.kind === 'rowgroup'}
{#each node.children as child}
{/each}
{:else if node.kind === 'subline'}
{#each node.children as child}
{/each}
{:else if node.kind === 'conditional'}
{#if node.belongs}
{/if}
{#each node.children as child}
{/each}
{:else if node.kind === 'text'} {@const m = r(node.style)} {#if m.color !== 'transparent'}
{node.text}
{:else}
{/if} {:else if node.kind === 'token'} {@const h = r(node.style).size * scale}
{:else if node.kind === 'elementUse'} {@const h = r(node.style).size * scale}
{:else if node.kind === 'image'} {@const h = r('normal').size * scale * (node.element ? 0.6 : 1)}
{:else if node.kind === 'divider'}
{/if}