Keller–Osserman conditions for diffusion-type operators on Riemannian manifolds