resistance and evolutionary tuning of bacterial optogenetic circuits -- Deciphering the