This is where you need to value yourself over the friendship. What you've described is pretty much unacceptable. I would just go home, get an Uber, just walk, whatever.
That kind of behaviour is completely unacceptable, no matter how much you care about her.
Address the situation directly with her, if it ends things, then so be it, you will be better off alone than being made to feel like you don't belong by someone you care for.
There are other people out there who will value you and your time more.
Go to Africa and you'll see the same thing from Black people while using white people as an excuse for looting the country through corruption and placing their own people in poverty.
https://youtu.be/4cbEuwqKKqE