Edit: Get rid of the 2027 first.
Mavs are big winners here. They get three players that are great fits around Luka. Magic get a bunch of young players, and they "trade up" and get the 7th pick for the 8th pick, plus a two 1sts and a 2nd. The Warriors get Kristaps, who can fit well with all that shooting, and hopefully he can play better. Jalen Brunson is a great third guard, and Franz Wagner helps them win now.