its hard to tell if that is damaged or came from the factory like that.
honestly i cannot see any board coming from any factory like that. all boards are looked at and handled to a certain degree. that is too much to be missed.
agreed that if you rode that board that the foam might have gotten wet. it can be fixed, but need to dry out completely first.