Let me put it another way, Ej, because electricity has never been one of my strengths.
The device comes with a wall wart and about six feet of wire and it plugs into an AC socket.
My main concern when people start asking about modifying it or using it in a different manner from what it was designed for is that they’ll mess something up.
It sounds as if this questioner wants to rewire it. I’m not going to honor warranty when people start doing stuff like that because I have no idea of the competence of the person doing the work.
Does that make sense?