We aren't Apple here, just end users like you, but I know from other posts that the cost of a repair could be 60-80 pecent of the cost of a new computer if more than the keyboard is damaged.
You probably know this, but Apple's warranties do not cover accidental damage.
Cost and repair options also vary with your location, which we don't know. Care to give us a hint? Someone may know of a certified third-party repair service in your area that may be cheaper on non-warranty work than Apple.
If you have homeowners'/renters' insurance, put them on notice of a potential loss. Many people have found that their policiies cover repair or replacement fowllowing accidental damge to computers, subject to the usual deductible, of course.