{$t('adventures.collection_contents')}

{totalItems} {$t('worldtravel.total_items')}

{#if searchQuery.length > 0} {/if}
{#if searchQuery || filterOption !== 'all' || sortOption !== 'name_asc'} {/if}
{$t('adventures.sort')}:
{$t('adventures.show')}:
{#if (filterOption === 'all' || filterOption === 'adventures') && filteredAdventures.length > 0}

{$t('adventures.linked_adventures')}

{filteredAdventures.length}
{#each filteredAdventures as adventure} {/each}
{/if} {#if (filterOption === 'all' || filterOption === 'transportation') && filteredTransportations.length > 0}

{$t('adventures.transportations')}

{filteredTransportations.length}
{#each filteredTransportations as transportation} {/each}
{/if} {#if (filterOption === 'all' || filterOption === 'lodging') && filteredLodging.length > 0}

{$t('adventures.lodging')}

{filteredLodging.length}
{#each filteredLodging as hotel} {/each}
{/if} {#if (filterOption === 'all' || filterOption === 'notes') && filteredNotes.length > 0}

{$t('adventures.notes')}

{filteredNotes.length}
{#each filteredNotes as note} {/each}
{/if} {#if (filterOption === 'all' || filterOption === 'checklists') && filteredChecklists.length > 0}

{$t('adventures.checklists')}

{filteredChecklists.length}
{#each filteredChecklists as checklist} {/each}
{/if} {#if totalItems === 0}
{#if searchQuery || filterOption !== 'all'}
{:else}
{/if}
{#if searchQuery || filterOption !== 'all'}

{$t('immich.no_items_found')}

{$t('collection.try_different_search')}

{:else} {/if}
{/if}