This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
Except a tip isn’t a contractual transaction, so there’s nothing illegal happening. They just left a clickbaity political flyer. There’s no difference between leaving this and leaving Chick Tracts, other than this one makes you double take before throwing it out.
If they tried to pay for the meal with it, there’d be a legal problem since they’re trying to pass it off as money.