Aww!

I would start by taking a few deep breaths and clear your head a bit. She's obviously not in so much pain she wont let you touch her.

How close of a fit is the bathroom door? If it was only a little scrunch, it may not be a euth-worthy injury. Cause alot of scrapes and outside icky, but may not have done much internally.

Wait till morning, leave her be. The less stress the better. Get to the vets and see what they say.