# AudienceRenderer

**Kind:** Class

**Source:** [`atloria-monorepo/packages/core/src/rendering/audience-renderer.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/core/src/rendering/audience-renderer.ts#L64)

Audience Renderer

Evaluates audience logic and filters content based on viewer permissions.

## Methods

| Method | Signature | Returns |
|---|---|---|
| `render` | `render(ast: DocumentAST)` | `string` |

## Where it refuses work

- `AudienceRenderer` stops the work with an early return when `!matches`.
- `AudienceRenderer` stops the work with an early return when `this.options.viewerAudiences.includes(audienceSlug)`.
- `AudienceRenderer` stops the work with an early return when `node.defaultVariant`.
- `AudienceRenderer` stops the work with an early return when `!this.options.expandIncludes`.
