If the line segment joining the point \( (5,2) \) and \( (2,a) \) subtends an angle \( \dfrac{\pi}{4} \) at the origin, then the absolute value of the product of all possible values of \( a \) is:
\( 8 \)
\( 4 \)
\( 6 \)
\( 2 \)