Category 1 water (clean water - toilet supply line, fridge ice maker, etc), so it hasn't been sitting thrown into the 48 hours, then can certainly extract normal water and retain the carpet and pad.
Do yourself a favor and have your rugs professionally cleaned if need to have it. https://oke.zone/profile.php?id=379793