Examining the Dynamics of Civil Unrest and Riots