Ab-initio calculations on 1O2 quenching mechanism by trans-resveratrol