Flash flood threat stays elevated through the end of the week and into the weekend