句中的两个 when… 都是时间状语:
第一个是个省略句——
when the (there is) possibility of eliminating a depressing thing 在排除压抑之事的可能性(存在)的时候
第二个是个完整的句子——
even when this requires some endeavor and commitment. 甚至在这种压抑之事需要某种努力和承诺的时候
* this指代 eliminating the depressing thing
* the possibility of doing sth. 表示“做某事的可能性”
参考译文:显而易见,在排除压抑之事的可能性存在的时候,甚至在排除这种压抑之事需要某种努力和承诺的时候,人们会感到解脱.