7 pin broken switch potentiometer

Hello :)

Shown in the pictures is a 7 pin switch potentiometer that was on my Zeiss microscope. At least it used to switch mechanically off when turned to the left. It recently shorted I think and now the is an arcing sound and the switch functionally doesn’t work.

Reaching out because I don’t understand why potentiometer needs 7 wires and not sure what to replace this with.

Also the resistor between the two terminals is 26 Ohms