The sum of the absolute maximum and minimum values of the function \( f(x) = \left| x^2 - 5x + 6 \right| - 3x + 2 \) in the interval \( [-1, 3] \) is equal to:
\( 10 \)
\( 12 \)
\( 13 \)
\( 24 \)