Correct type of transformer for powering Arduino off AC?

Same Panasonic adjustable resistor, same color AC compensation capacitor,
same color low voltage electrolytics,

as the components in that caged supply from LED vendor that costed 6 dollar.

Maybe the components are rated for 120 volts, not for 240.

I'd even say, the same IC, same LED, and same optocoupler.
Mine was a 5v/50W caged supply, bigger transformer.