What just came out of me! HELP!

I am currently 38 weeks and 5 days pregnant. I went to the bathroom and this is what I found in my underwear. I know what normal discharge is, but this was of EXTREMELY thick consistency.

what is it! should I be concerned? Is it worth going to the hospital for?