Normal form for the onset of collapse: The prototypical example of the nonlinear Schrödinger equation.