@if ($searchLoading()) {
} @else if ($searchError()) {

warning {{ t('book-overview.book-not-known') }}

} @else if ($searchResult()) {

{{ $searchResult()?.title }}

@if ($coverUrl() !== null) { cover-image } @else { {{ t('books.no-cover') }} }
@if ($searchResult()?.description) {
} @if ($authorNames(); as authorNames) {

{{ t('book-details.authors') }} @for ( author of authorNames; track author; let i = $index ) { {{ author }} @if (i !== authorNames.length - 1) { , } }

}

{{ t('book-details.publisher') }} {{ $publisherName() }}

@if ( $searchResult()?.publishedDate !== 'undefined' && $searchResult()?.publishedDate; as publishedDate ) {

{{ t('book-details.published') }} {{ publishedDate | date }}

} @if ( $searchResult()?.pageCount || $searchResult()?.printedPageCount ) {

{{ t('book-details.pages') }} {{ $searchResult()?.pageCount || $searchResult()?.printedPageCount }}

} @if ($searchResult()?.language) {

{{ t('book-details.language') }} {{ $searchResult()?.language! | language }}

} @if ($searchResult()?.isbn) {

{{ t('book-details.isbn') }} {{ $searchResult()?.isbn! | isbn }}

} @if ($searchResult()?.amazonLink) { }
}