It basically means what the f*go but it’s more of a joke
‘Jessica called me last night.’ ‘What in the nan, what did she say?’