Competing wave-breaking mechanisms in second harmonic generation