Strange jellylike lump in toilet bowl

I’ve just been to the loo and had extreme difficulty passing any poo as I’ve been badly constipated the past few weeks (I usually suffer from diarrhea on a regular basis so this in itself was weird) when I finally did manage to pass out all my stools I noticed the whole toilet bowl was covered with dark blood and after wiping and passing some more stools, I noticed a jellylike lump sitting on top of the loo paper in the bowl. It was quite similar to the types I’d occasionally get when having a heavy period but I’ve not had my period for over a year now and think I might have early menopause (I’m 41yo). Any idea what it might be?