Text this: Investigation on the mechanical, thermal properties, and refractive index of Er,Pr