@if ((libraryState$ | async)?.libraries; as libraries) {

## Upload Books

Upload your books to library or bookdrop folder

Upload Destination
@if (value === 'library') {
Library Selection
Library
Subpath
}
Select Files
Click "Choose" to select files or drag and drop them below
@if (files?.length > 0) {
@for (uploadFile of this.files; track uploadFile; let i = $index) {
{{ uploadFile.file.name }} {{ formatSize(uploadFile.file.size) }}
@switch (uploadFile.status) { @case ('Pending') { } @case ('Uploading') { } @case ('Uploaded') { } @case ('Failed') { } }
}
}

### Drag and Drop Files

Supported formats: .pdf, .epub, .cbz, .cbr, .cb7
Maximum file size: 100 MB per file

}