I have theories, but frankly I rather hope I am wrong about what I expect to happen in the long term.
Having Egypt absorb Gaza, Jordan absorb parts of the West Bank, and Paletinians giving up both Jerusalem and the Temple are "best" realistic outcomes, but we live in unrealistic times.