I honestly feel the "what if" aspect of attacking a carrier is just as important as the actual act.
https://en.wikipedia.org/wiki/Operat...ican%20warship.
We destroyed Iran's Navy in one afternoon after one of our ships hit a mine and was damaged but no loss of crew.
I would gather our response to a carrier being hit as even more pronounced, though these days, who knows.