Recovery of value from waste electrical and electronic equipment using ionic liquids