{#if error}
{error}
{/if}
{#if panel === 'files'} {#if files.length === 0}{:else}
{#each files as file, index (String(file.rel || file.path || index))}

{file.name || file.rel || file.path || 'Media file'}

{file.type || 'media'}{file.mtime ? ` - ${new Date(Number(file.mtime)).toLocaleString()}` : ''}

{formatBytes(file.size)}
{/each}
{/if}
{:else}
{#if Object.keys(mounts).length === 0}{:else}
{#each Object.entries(mounts) as [name, mapping] (name)}

{name}

{typeof mapping === 'string' ? mapping : JSON.stringify(mapping)}

Mapped
{/each}
{/if}

Service online

Health probes and file delivery share this process.

Database tracked

Last refresh: {lastUpdated || '--'}

Recent entries

{files.length || 'No'} visible in this session

{/if}