Rebuilding heater box, replace core?

I think the yellow foam on the termperature door and the yellow foam strip are original.
upload_2022-5-16_9-42-14.png

Foam on the shut-off door is thinner and may have been gray.
No foam on the defroster door.
upload_2022-5-16_9-35-57.png