Let's see, a quick googling got me Driver Airbag, Passenger Airbag, Front Side Airbag (x2), Front Head Airbag (x2), Rear Head Airbag (x2).
Driver airbag - $500, used
Pass airbag - $560, used
FS airbag - $300, used (x2)
FH airbag - $140, used (x2)
RH airbag - $140, used (x2)
Roughly $2200 in used airbags, new are probably around 50% more expensive, so figure an easy $3k in airbags. Most new cars also need new airbag computers after a crash ($300, used) as well. Plus labor it has around $5000 worth of damage to the airbag system. Add on time on a frame straightener if the quarter got tweaked enough, plus cutting and welding in a new quarter, trunk lid, smoothing out the inside of the trunk, bumper, bumper reinforcement, paint, etc. etc.
Damage probably totals up past $10k, 50% of car's value in damage = totaled.
I had a 2001 Chevy S10 ZR2 that a tow truck backed into, NADA was $10k, new fenders, bumper, grill, hood, lights, core support, radiator, and labor came to $4500. Took the cash, sold the damaged truck with a clean title, and bought my little gay car.