The devastating storm that has killed at least 158 people in mainland Spain is now moving towards the Balearic Islands, with pleas for residents to "stay at home".