Shear mechanism of rock joints under pre-peak cyclic loading condition