mucus plug

what does it mean to lose little
bits of mucus plug ? everytime i go to the toilet it's this thick snot looking thing, sticky, and only a little each time i go. i'm 35 weeks.