{m.person_relationships_heading()}
{#if relationships.length === 0 && topDerived.length === 0}
{m.person_relationships_empty()}
{:else} {#if relationships.length > 0}
{#each relationships as rel (rel.id)}
{chipLabel(rel, personId)}
{otherName(rel, personId)}
{/each}
{/if} {#if topDerived.length > 0}
{#each topDerived as derived (derived.person.id)}
{inferredRelationshipLabel(derived.label)}
{derived.person.displayName}
{/each}
{/if} {/if}