Synthesizing Resilient Strategies for Infinite-Horizon Objectives in Multi-Agent Systems