Varistor? Purpose and principle
This is an NTC current limiting resistor. When plugging in the circuit, the NTC is cold and a bad conductor - this is limiting the charge current to the input capacitor. When the NTC is hot from the power dissipation it will become a good conductor with low losses.