Betts gets $365M, 12-year deal with Dodgers through 2032