IFAKA 0ea1ef29a4 fix: add bounds checks to Epub getter functions
- getCumulativeSpineItemSize(): Add bounds check before .at()
- getSpineItem(): Handle empty spine case to prevent exception
- getTocItem(): Handle empty toc case to prevent exception

Uses static fallback objects for reference returns when containers
are empty, preventing exceptions from .at(0) on empty vectors.
2025-12-20 19:26:51 +01:00
..
2025-12-19 08:45:20 +11:00