So I have the following integration:
$$ \frac{1}{2π}\int_{-1}^1\lvert\frac{e^{-(1+xi)}}{1+xi}\rvert^2 dx $$
and I was able to go until:
$$ \frac{1}{2πe^2}\int_{-1}^1\frac{e^{-2xi}}{1+x^2} dx $$
but I am not sure on how to solve the integration. I know if I had only the $1/(1+x^2)$ is would be $arctan(x)$. However there is the $e$ in the denominator that puzzles me.
Any idea on how to solve this?