8. Given $\left(x^{\sqrt{2}}\right)^{\sqrt{2}}=\sqrt{2}$, then $|x|=(\quad)$.
A. 2
B. 1
C. $\sqrt{2}$
D. $2^{\frac{1}{4}}$
E. $2^{\frac{1}{8}}$
D

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.