Source for those foam door hinge dust seals?

It's seam sealer. They gooped it in there to keep the water that runs out of the cowl drain from running into the oversized bolt holes that were needed for door adjustment. If you look, you will find it on the back side of the inner half of the hinges also.