Panic mode

Helloo everyone ! I am in a panic mode right now - heard my toddler ( 2 and a half) crying at 5 am so went to her room she was in the bathtub naked with poop in the tub. It’s when I saw the empty soap that I started panicking - maybe she drank the whole bottle ? Symptoms to look out for? Also then I checked her room camera and realized she had been awake since 2 am - went out of her room and didn’t see her in the room again (bathroom is the area I cannot see) maybe she was in the bathroom or elsewhere around the house - what did she do all this time ? I thought she could of took a bath alone and drowned/jumped out of the window/went out of the house - my thoughts are all over the place - I’m scared to let her sleep in her room alone again - what to do? How to know for the soap? I’m in total freak out

Please advice 😖