Powerful earthquakes shake Indonesia