+ {#if flatFiltered.length === 0}
+
+ {$t('entityPicker.noResults')}
+
+ {:else}
+ {#each grouped as group, gIdx}
+ {#if group.name}
+
+ {/if}
+ {#each group.items as item, iIdx}
+ {@const flatIdx = flatIndexOf(gIdx, iIdx)}
+ {@const isHighlighted = flatIdx === highlightIndex}
+ {@const isCurrent = item.value === current}
+
+ {/each}
+ {/each}
+ {/if}
+