What factors conspired to propel the United States to emerge as a military and economic powerhouse prior to World War II?