Who is winning the Middle East war?

Iran has taken a beating but it retains the advantages of geography, time and a superior tolerance for pain