First-principles modeling of laser-matter interaction and plasma dynamics in nanosecond pulsed laser shock processing