1. When $z=-\frac{1-\mathrm{i}}{\sqrt{2}}$, the value of $z^{100}+z^{50}+1$ is
A. 1
B. -1
C. $\mathrm{i}$
D. $-\mathrm{i}$
1. D

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