I'd argue there is a 3) show other gulf nations that the US can't defend them. They are doing a pretty reasonable job of that right now too considering the infra that is being destroyed daily. The real question is what are their goals and what do they stand to gain? A new list may be:
1) Stay in power. They really were pretty destabilized before this. This war may actually be propping up their government because hitting a bully, despite what the movies say, just gives them more power. Reporting from inside the country is sparse, but it seems like the few stories coming out aren't showing the same level of internal unrest that was there a month ago. This objective seems on track.
2) Increase their influence in the region. This is likely happening by the minute mainly by the fact that the US is losing influence in the region the longer this goes on. The US's loss is Iran's gain. I suspect that actual negotiations are happening in secret between Iran and gulf nations that will have long term consequences. I don't know that this objective is on track, it will take years to see, but if I were betting long term I would bet that Iran in 5-10 years will have much more influence in the region than they had a month ago.
3) Harm the US and Israel. Spain is getting almost hostile and we have a lot of US assets there. Pretty much every country on the planet is turning their back on the US openly. The most 'help' the US has gotten is basing from the UK and, of course, gulf nations supporting strikes. Israel is going to loose military aid for decades and potentially more after this administration leaves. This objective seems on track too.
I honestly don't know how Iran could get a better outcome than what is happening right now. By the end of this they will look rational compared to the US, the rhetoric of the last 50 years will look vindicated giving them increased influence and access in the region and a new generation of extremists will have been created. This has the makings of becoming one of the worst blunders in military history.