Pediatrics

A 18-month old baby presents with recurrent episodes of excessive crying followed by cyanosis, unconsciousness and occassional seizures since 9 months of age. The most likely diagnosis is -