The domain of the function \( f(x) = \sin^{-1}\!\left(\dfrac{x^{2}-3x+2}{x^{2}+2x+7}\right) \) is :
\( [1,\infty) \)
\( [-1,2] \)
\( [-1,\infty) \)
\( (-\infty,2] \)