High-frequency vibration effect on the stability of a horizontal layer of ternary fluid