Foreshock bubbles and their global magnetospheric impacts