{{ coverType === 'audiobook' ? t('searchAudiobookCover') : t('searchEbookCover') }}

{{ t('description') }}

@if (searchForm.get('title')?.invalid && searchForm.get('title')?.touched) { {{ t('titleRequired') }} }
@if (!hasSearched()) {

{{ t('searchForCovers') }}

{{ t('searchForCoversDescription') }}

} @else if (loading()) {

{{ t('searchingForCovers') }}

} @else if (coverImages().length === 0 || failed()) {
@if (failed()) {

{{ t('searchFailed') }}

} @else {

{{ t('noCoversFound') }}

{{ t('noCoversFoundDescription') }}

}
} @if (!loading() && coverImages().length > 0) {
{{ coverImages().length === 1 ? t('coversFoundSingular', { count: coverImages().length }) : t('coversFoundPlural', { count: coverImages().length }) }} {{ t('resultsHint') }}
@for (cover of coverImages(); track cover.url; let i = $index) {
@if (cover.width && cover.height) {
{{ cover.width }} x {{ cover.height }}
}
}
}