Please love, just stop.
Don't panic, you can't panic, it won't help.
You don't have to do anything today, tomorrow, next week or next month.
You're in control of this.
When the dust has settled, yes you can go and see a solicitor. The fact you're married has given you the protection you need.
Whatever happens, you'll be ok. Things will be ok.
All this talk of divorce, take half etc is too premature. Yes you can go down that path, but not today.
Breathe. You don't need to tell the kids anything, because nothing has actually happened that they need to know about yet.
It may not ever happen, it's too soon.
PLEASE don't panic. Keep posting and refuse to be goaded into taking the sensationalist advice on here just yet.
Let's be here and hold op hand for now? She needs to process all of this before working out what her next step is.