Facebook content moderators in the U.S. have resorted to extreme measures to cope with the stress of viewing graphic and offensive material on repeat, according to a new report from The Verge.

In a wide-ranging exploration of working conditions at Facebook's content moderation facility in Arizona, which is operated by a vendor called Cognizant, The Verge described an office where employees cope with intense stress by using drugs and having sex at work. One employee told The Verge that he even brought a gun to work because he feared retaliation from other former employees.

The moderators are reportedly paid $15 per hour to work through a queue of content that could range from offensive jokes to potential threats to videos depicting murder.

Byers Market Newsletter Get breaking news and insider analysis on the rapidly changing world of media and technology right to your inbox. This site is protected by recaptcha

In a statement, a Facebook spokesperson said, "We value the hard work of content reviewers and have certain standards around their well-being and support. We work with only highly reputable global partners that have standards for their workforce, and we jointly enforce these standards with regular touch points to ensure the work environment is safe and supportive, and that the most appropriate resources are in place."

Content moderation can be difficult work but it is necessary to keep Facebook safe. We appreciate everyone who does it, and that's why we work closely with all our partners to demand a high level of support for all reviewers. https://t.co/vxn3qFmQFI — Facebook Newsroom (@fbnewsroom) February 25, 2019

According to a statement sent by Facebook, a Cognizant spokesperson said the company has investigated the issues raised by The Verge and "previously taken action where necessary and have steps in place to continue to address these concerns and any others raised by our employees. In addition to offering a comprehensive wellness program at Cognizant, including a safe and supportive work culture, 24x7 phone support and onsite counselor support to employees, Cognizant has partnered with leading HR and Wellness consultants to develop the next generation of wellness practices." Cognizant did not directly respond to CNBC's request for comment.

Contracted moderators get two 15-minute breaks, one 30-minute lunch and nine minutes of "wellness time" per day, The Verge reported, but much of that time is spent waiting on long lines for the bathroom where three stalls per restroom serve hundreds of employees. Some use these stalls as places to have sex at work to cope with the stress. Others have resorted to lactation rooms, which became such a problem last year that management removed locks from the doors, The Verge reported.

Some employees used drugs at work to numb the pain. Workers described to The Verge regularly smoking marijuana on the job and joking to each other about "drinking to forget."

One former Cognizant worker said he had started bringing a gun to work in hopes of protecting himself and he continues to sleep with a gun nearby even now that he's left. He said he feared threats from fired employees at the time, which included warnings that they would hurt their former colleagues. The worker said he began to believe some of the conspiracy theories he was exposed to at work, like that 9/11 was not a terrorist attack or that the Las Vegas massacre was committed by multiple gunmen, even though the FBI has said it was committed by one gunman.

The worker has since been diagnosed with post-traumatic stress disorder and generalized anxiety disorder, he told The Verge. When The Verge asked a counselor at Cognizant about risks of contractors developing PTSD, the counselor instead said some people can experience "post-traumatic growth," where trauma victims become stronger.

Read the full report at The Verge.