Earthquake risk assessment of building structures