The specific claim that 77% of Republicans and only 38% of Democrats believe it's unacceptable to feel joy at the death of someone they oppose is not directly supported or confirmed by the available sources.
77% of Republicans believe it's unacceptable to feel joy at the death of someone they oppose, while only 38% of Democrats share this view.

6. How do the political parties make you feel? - Pew Research Center
Source: pewresearch.org
Key Evidence
and show Republicans and Democrats increasingly critical and negative toward each other but do not measure feelings about joy at death.
pewresearch.orgpewresearch.orgRepublicans and Democrats increasingly critical of people in the opposing party-...
hub.jhu.eduhub.jhu.eduPoll: Nearly half of Americans think members of the opposing political party are...
discusses Democrats' general loss of joy but unrelated to opponents' deaths.
dailymail.co.ukdailymail.co.ukGloomiest poll EVER finds Democrats have lost all joy
No source provides direct polling data on the acceptability of feeling joy at an opponent's death with those specific percentages.
What the Evidence Shows
I looked through the provided sources to find direct evidence for the claim about the percentages of Republicans and Democrats who find it unacceptable to feel joy at an opponent's death. None of the sources explicitly report these exact figures or address this precise question. Several Pew Research Center polls and other surveys discuss partisan attitudes, negative feelings toward opposing parties, and perceptions of political opponents as 'evil' or threatening, but they do not quantify views on feeling joy at death specifically.
For example, and highlight increasing negativity and harsh judgments between parties, but do not measure this particular moral stance.pewresearch.orgpewresearch.orgRepublicans and Democrats increasingly critical of people in the opposing party-...
hub.jhu.eduhub.jhu.eduPoll: Nearly half of Americans think members of the opposing political party are...+1 more mentions Democrats losing joy in a general sense but does not relate it to feelings about opponents' deaths. Because this is a very specific emotional and moral judgment, it would require a targeted poll question to verify, which is not present in these sources.
Therefore, while the broader context shows strong partisan animosity and negative feelings, the exact percentages cited remain unverified based on the current evidence.