How to replace wires in door hinge

I have an Amana stand up freezer model #U18K. The door was removed and the wires got severed.

My question is: what do these wires do and how do I replace them?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0