/***********************************************************************************************************************************************************************
* File Name : FileZoomViewer.jsx
* Type : Component (Generic)
* Description : Zoom/pan/fit viewer for image and PDF files. Used by both the
* client task-attachment preview (FilePreview.jsx, via blob:
* URLs) and the admin asset view pages (ViewImageAsset.jsx,
* ViewDocumentAsset.jsx, via direct stream-token URLs) —
* `src` accepts either, this component doesn't care how the
* URL was produced.
*
* Supported:
* image/jpeg, image/png → with scroll-zoom + drag-pan
* application/pdf → pdf.js renders the current page to
*