I have an image of a mains plugging into a piece of equipment. The schematic shows decoupling caps to ground. First question, are these for ESD. Second how are they selected, what calculations should I accommodate to select the correct value. At the very least please provide a circuit description for me to research.