Interplay of dopant and polarons in trifunctional semimagnetic semiconductor for supercapacitor applications: Local structure and electronic structure investigations. (April 2023)