Fix `clippy::manual_map` lint violations (#36584)

#36577

Release Notes:

- N/A
bc79076ad3tidely committed on 8/20/2025, 1:17:28 PM· committed by GitHubparentde12633
18 files changedLine totals unavailable