Spain is preparing for snap elections amid internal political division between the center-left and right-wing opposition.