Direct imaging of a first-order liquid-liquid phase transition in undercooled molten PdNiP alloys and its thermodynamic implications