1. Given $a, b, c$ are real numbers, the set $A=\left\{\sin a, \cos b, 0,1,-2, \frac{\sqrt{2}}{2}, \ln c\right\}$, the set $B=\left\{x \mid x=a^{2022}+a^{2}, a \in A\right\}$, if $|B|=4$, then the value of $\cos (2 a)-\cos (2 b)+c$ is $\qquad$ .
Since $y=x^{2022}+x^{2}$ is an even function and monotonically increasing on $(0,+\infty)$, therefore

so $\cos (2 a)-\cos (2 b)+c=1-2 \sin ^{2} a-2 \cos ^{2} b+1+e^{2}=e^{2}-1$.