From Santa Monica to the Bronx: How communities rebound from violence in protests