TMI PHOTO: Extremely worried that my contraceptive didn't work?

The condom slipped around three-ish weeks ago, and my bf and I freaked out and I took take action (update: take action is another type of plan b-esque pill) about three days later. A week after taking the pill, I got heavy brown discharge (very bloody, almost dark black and soaked into my underwear) for three days. I assumed it was the pill working its magic and was relieved. It went away, but now, about four days after the heavy bleeding, my boobs are sore and I'm having this VERY WEIRD CM!! It's super sticky and slightly chunky, and it's an off-white (milky and sorta transparent but not really) and tinged with brown. I'm so worried the pill failed and I'm pregnant. What is this?? ANOTHER UPDATE SOME THICK BROWN DISCHARGE JUST CAME OUT OF ME IM SCREAMING