Social anhedonia and work and social functioning in the acute and recovered phases of eating disorders