Optimization of the production of solid Witepsol nanoparticles loaded with rosmarinic acid.