A dynamic approach to supply chain reconfiguration and ripple effect analysis in an epidemic