Pakistan has emerged as a global crisis mediator amid the US war on Iran.