A diaphragmatic hernia occurs anteriorly and medially through the foramen of: