Damping mechanisms and order-to-chaos transition in the warm rotating 163 Er nucleus