Amplitude analysis of the χc1→ηπ+π− decays