As we know in $1+3$ dim electromagnetism, there are only two independent gauge invariant scalars $$\frac12F^{\mu\nu}F_{\mu\nu}=\mathbf{B}^2-\mathbf{E}^2$$ $$\frac14F_{\mu\nu}\ {}^\ast F^{\mu\nu}=\frac14\epsilon^{\mu\nu\alpha\beta }F_{\mu\nu}F_{\alpha\beta}=\mathbf{B}\cdot\mathbf{E}.$$
The first one can be certainly generalized to any dimension. But the second one heavily depends on the $1+3$ dim.
As we know in $1+1$ dim $$F^{\mu\nu} = \begin{pmatrix}0 & -E \\ E & 0\end{pmatrix}$$ So the two invariants I can think is $$\epsilon_{\mu\nu}F^{\mu\nu}=-2E$$ and $$F^{\mu\nu}F_{\mu\nu}=-2E^2$$ So only one is independent.
So my question: In $1+d$ dim electromagnetic theory, how many independent gauge invariant scalars and what are they respectively? How to prove they are the unique independent gauge invariant scalars? i.e. Any other gauge invariant scalars can be constructed by them. I found a proof in $1+3$ dim, but this proof heavily depends on the physics in $1+3$ dim, and cannot be generalized to any dimension.