A decision support system for territorial resilience assessment and planning: An application to the Douro Valley (Portugal).