Resonance-assisted hydrogen bonding induced nucleophilic addition to hamper ESIPT: ratiometric detection of cyanide in aqueous media.