Composition-dependent structure and properties of 5- and 15-element high-entropy alloy nanoparticles