openItem(item)}
onkeydown={(e) => { if (e.key === "Enter") openItem(item); }}
role="button"
tabindex="0"
>
{#if item.audioPath}
{/if}
{#if item.title}
{item.title}
·
{/if}
{item.date}
·
{item.source}
{#if item.duration}
· {formatDuration(item.duration)}
{/if}
{#if item.audioPath && item.segments && item.segments.length > 0}
{/if}
{item.title ? item.text.slice(0, 120) : item.preview}
{#if selectedItem === item}
{#if item.audioPath && playingId === item.id}
{/if}
{item.text}
{/if}