Resource efficiency in metal recovery from diverse sources: Considering process conditions and waste streams