Creation of Function Node for base64 payload

Facing problem in creating and deploying the js

function node as i want to decode my payload.Could someone write the correct script of javascript code in function node of node red inorder to decode the payload and extract values of temperature and humidity as json outputs in node red debug

already answered in your other thread - so closing this one, so as not to duuplicate.