Gravitational lensing by an ellipsoidal Navarro--Frenk--White dark-matter halo: an analytic solution and its properties | Synapse