TOKYO - Japan, China, South Korea and 12 other Asia-Pacific countries on Wednesday wrapped up eight-year talks on a regional trade deal, setting the stage for their leaders' signing of the agreement that will cover around a third of the world's population, officials said.