there is not question you pay a top3 QB whatever it takes on his second contract.
If Josh goes, this team is done. He IS the team. The only irreplaceable player. If he was gone....another team would have paid him the same money or more.
Acknowledging this obvious truth, the OP still asks the question.
Why even ask? There is no logical alternative.