ANCHORAGE  Gov. Sarah Palin of Alaska fired back Friday at the unnamed McCain campaign aides who have been maligning her in recent days, saying that their criticism was “cruel and it’s mean-spirited, it’s immature, it’s unprofessional, and those guys are jerks.”

Ms. Palin spoke out upon her return to the governor’s office here, defending herself from a barrage of criticism that has been aimed at her from unnamed McCain aides ever since the McCain-Palin ticket was defeated Tuesday.

The McCain campaign aides complained about the $150,000 that the Republican National Committee had spent on Ms. Palin’s clothes, the way a Canadian comedian was able to embarrass the campaign by calling her and pretending to be the president of France, and the political ambitions she seemed to harbor beyond 2008.

By the end of the week, their complaints had escalated considerably, with Fox News quoting unnamed McCain campaign officials as saying that Ms. Palin had not known that Africa was a continent, not a country, and claiming that she did not know which countries were covered by the North American Free Trade Agreement.