If $\int \left( e ^ { 2 x } + 2 e ^ { x } - e ^ { - x } - 1 \right) e ^ { \left( e ^ { x } + e ^ { - x } \right) } d x = g ( x ) e ^ { \left( e ^ { x } + e ^ { - x } \right) } + c$, where $c$ is a constant of integration, then $g ( 0 )$ is\\
(1) $e$\\
(2) $e ^ { 2 }$\\
(3) 1\\
(4) 2