Psychosocial factors promoting resilience during the menopausal transition