{#each GRUPPI as gruppo (gruppo.titolo)}

{gruppo.titolo}

{#each gruppo.voci as voce (voce.href)} pannello?.removeAttribute('open')} class="flex items-center justify-between gap-2 rounded-md px-3 py-2 text-sm {voceAttiva( voce, percorso, query ) ? 'bg-accento font-medium text-su-accento' : 'text-tenue hover:bg-fondo'}" > {voce.testo} {#if badge(voce.chiave) !== undefined} {badge(voce.chiave)} {/if} {/each}
{/each}