:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
/**
* Default allow lists (English stopwords/UI vocabulary + safe URL segments), the fail-safe fallback.
*
* The arrays below mirror the single source of truth — `default_text_words.txt` /
* `default_url_segments.txt` in the `posthog-replay-anonymizer` Rust crate, which the crate embeds
* for offline consumers. `default-dict.test.ts` reads those files and asserts this copy matches, so
* editing the defaults means editing the `.txt` files and this list together.
*/
import { AllowLists } from './allow-lists'
export const DEFAULT_TEXT_WORDS: string[] = [
// articles, prepositions, conjunctions, pronouns
'a',
'an',
'the',
'and',
'or',
'but',
'nor',
'so',
'yet',
'as',
'if',
'then',
'than',
'of',
'to',
'in',
'on',
'at',
'by',
'for',
'with',
'from',
'into',
'onto',
'out',
'up',
'down',
'off',
'over',
'under',
'between',
'through',
'across',
'about',
'after',
'before',
'during',
'without',
'within',
'while',
'until',
'since',
'per',
'via',
'vs',
'versus',
'etc',
'i',
'me',
'my',
'mine',
'you',
'your',
'yours',
'he',
'him',
'his',
'she',
'her',
'hers',
'it',
'its',
'we',
'us',
'our',
'ours',
'they',
'them',
'their',
'theirs',
'this',
'that',
'these',
'those',
'who',
'whom',
'whose',
'which',
'what',
'where',
'when',
'why',
'how',
'any',
'all',
'some',
'no',
'none',
'every',
'each',
'both',
'either',
'neither',
'more',
'less',
'most',
'least',
'few',
'many',
'much',
'such',
'other',
'another',
'same',
'own',
'self',
// to-be / aux verbs
'am',
'is',
'are',
'was',
'were',
'be',
'been',
'being',
'do',
'does',
'did',
'done',
'doing',
'have',
'has',
'had',
'having',
'will',
'would',
'shall',
'should',
'can',
'could',
'may',
'might',
'must',
'ought',
'need',
'not',
'yes',
'no',
'ok',
'okay',
// common everyday verbs (UI copy)
'click',
'tap',
'press',
'select',
'choose',
'pick',
'submit',
'save',
'saved',
'saving',
'cancel',
'cancelled',
'discard',
'dismiss',
'close',
'closed',
'open',
'opened',
'opening',
'edit',
'edited',
'editing',
'modify',
'change',
'changed',
'update',
'updated',
'updating',
'create',
'created',
'creating',
'add',
'added',
'adding',
'remove',
'removed',
'removing',
'delete',
'deleted',
'deleting',
'duplicate',
'duplicated',
'copy',
'copied',
'paste',
'cut',
'clone',
'fork',
'drag',
'drop',
'move',
'moved',
'resize',
'rename',
'renamed',
'search',
'find',
'finding',
'filter',
'filtered',
'sort',
'sorted',
'group',
'grouped',
'ungroup',
'refresh',
'reload',
'retry',
'reset',
'restore',
'revert',
'rollback',
'undo',
'redo',
'expand',
'collapse',
'minimize',
'maximize',
'toggle',
'show',
'hide',
'view',
'preview',
'browse',
'explore',
'navigate',
'go',
'goto',
'load',
'loading',
'loaded',
'fetch',
'fetching',
'fetched',
'import',
'imported',
'export',
'exported',
'download',
'downloaded',
'downloading',
'upload',
'uploaded',
'uploading',
'attach',
'attached',
'detach',
'send',
'sent',
'sending',
'receive',
'received',
'reply',
'forward',
'share',
'shared',
'sharing',
'invite',
'invited',
'join',
'joined',
'leave',
'left',
'approve',
'approved',
'reject',
'rejected',
'accept',
'accepted',
'decline',
'declined',
'confirm',
'confirmed',
'verify',
'verified',
'validate',
'validated',
'publish',
'published',
'draft',
'drafts',
'archive',
'archived',
'unarchive',
'restore',
'delete',
'trash',
'pin',
'pinned',
'unpin',
'star',
'starred',
'unstar',
'favorite',
'favorited',
'like',
'liked',
'unlike',
'follow',
'followed',
'unfollow',
'subscribe',
'subscribed',
'unsubscribe',
'mute',
'unmute',
'block',
'blocked',
'unblock',
'report',
'reported',
'flag',
'flagged',
'comment',
'reply',
'react',
'mention',
'tag',
'tagged',
'untag',
'assign',
'assigned',
'unassign',
'reassign',
'start',
'started',
'starting',
'stop',
'stopped',
'stopping',
'pause',
'paused',
'resume',
'resumed',
'restart',
'restarting',
'begin',
'end',
'finish',
'finished',
'complete',
'completed',
'continue',
'skip',
'skipped',
'exit',
'quit',
'install',
'installed',
'installing',
'uninstall',
'upgrade',
'upgraded',
'downgrade',
'configure',
'configured',
'setup',
'set',
'build',
'built',
'compile',
'compiled',
'test',
'tested',
'testing',
'deploy',
'deployed',
'deploying',
'release',
'released',
'ship',
'shipped',
'rollout',
'rollback',
'publish',
'promote',
'promoted',
'run',
'running',
'execute',
'executed',
'process',
'processed',
'processing',
'queue',
'queued',
'schedule',
'scheduled',
'trigger',
'triggered',
'connect',
'connected',
'disconnect',
'link',
'linked',
'unlink',
'sync',
'synced',
'syncing',
'buy',
'bought',
'purchase',
'purchased',
'order',
'ordered',
'checkout',
'pay',
'paid',
'paying',
'refund',
'refunded',
'charge',
'charged',
'renew',
'renewed',
'expire',
'expired',
'trial',
'free',
'login',
'log',
'logged',
'logout',
'signin',
'signout',
'signup',
'register',
'registered',
'authenticate',
'authorize',
'authorized',
'deauthorize',
'unauthorized',
'remember',
'forgot',
'reset',
'recover',
'enable',
'enabled',
'disable',
'disabled',
'activate',
'activated',
'deactivate',
'lock',
'locked',
'unlock',
'unlocked',
'grant',
'revoke',
'permit',
'deny',
'allow',
'blocklist',
'allowlist',
// common nouns: navigation / structure
'home',
'homepage',
'landing',
'main',
'page',
'pages',
'section',
'sections',
'panel',
'panels',
'tab',
'tabs',
'view',
'views',
'screen',
'window',
'modal',
'dialog',
'popup',
'popover',
'tooltip',
'drawer',
'sidebar',
'header',
'footer',
'nav',
'navigation',
'menu',
'menus',
'breadcrumb',
'breadcrumbs',
'toolbar',
'toolbox',
'ribbon',
'card',
'cards',
'tile',
'tiles',
'grid',
'list',
'lists',
'tree',
'table',
'tables',
'row',
'rows',
'column',
'columns',
'cell',
'cells',
'container',
'wrapper',
'block',
'blocks',
'section',
'group',
'stack',
'layer',
'layers',
'dashboard',
'dashboards',
'workspace',
'workspaces',
'project',
'projects',
'team',
'teams',
'organization',
'organizations',
'org',
'orgs',
'company',
'companies',
'department',
'settings',
'preferences',
'config',
'configuration',
'options',
'profile',
'profiles',
'account',
'accounts',
'billing',
'plan',
'plans',
'subscription',
'subscriptions',
'trial',
'free',
'pro',
'premium',
'enterprise',
'business',
'starter',
'growth',
// common nouns: forms / fields
'form',
'forms',
'field',
'fields',
'input',
'inputs',
'value',
'values',
'label',
'labels',
'placeholder',
'name',
'first',
'last',
'middle',
'title',
'prefix',
'suffix',
'username',
'handle',
'alias',
'nickname',
'email',
'phone',
'mobile',
'fax',
'address',
'street',
'city',
'state',
'region',
'province',
'zip',
'postal',
'code',
'country',
'language',
'locale',
'timezone',
'password',
'passcode',
'pin',
'otp',
'code',
'token',
'secret',
'key',
'api',
'checkbox',
'radio',
'switch',
'slider',
'select',
'dropdown',
'combobox',
'datepicker',
'timepicker',
// common nouns: identity / auth
'user',
'users',
'member',
'members',
'guest',
'guests',
'owner',
'admin',
'administrator',
'moderator',
'developer',
'designer',
'engineer',
'manager',
'lead',
'analyst',
'viewer',
'editor',
'contributor',
'collaborator',
'client',
'customer',
'vendor',
'supplier',
'partner',
'agent',
'operator',
'role',
'roles',
'permission',
'permissions',
'scope',
'scopes',
'policy',
'policies',
'access',
'session',
'sessions',
'device',
'devices',
// common nouns: data / analytics
'data',
'row',
'record',
'records',
'entry',
'entries',
'item',
'items',
'object',
'objects',
'entity',
'entities',
'model',
'models',
'schema',
'table',
'tables',
'view',
'views',
'query',
'queries',
'report',
'reports',
'chart',
'charts',
'graph',
'graphs',
'plot',
'plots',
'metric',
'metrics',
'kpi',
'stat',
'stats',
'statistics',
'count',
'counts',
'total',
'totals',
'average',
'avg',
'median',
'mean',
'min',
'max',
'sum',
'diff',
'delta',
'percent',
'percentage',
'ratio',
'rate',
'rates',
'trend',
'trends',
'growth',
'decline',
'increase',
'decrease',
'event',
'events',
'action',
'actions',
'interaction',
'interactions',
'session',
'sessions',
'visit',
'visits',
'view',
'pageview',
'click',
'clicks',
'impression',
'impressions',
'conversion',
'conversions',
'funnel',
'funnels',
'retention',
'cohort',
'cohorts',
'experiment',
'experiments',
'variant',
'variants',
'test',
'tests',
'ab',
'split',
'flag',
'flags',
'feature',
'features',
'release',
'releases',
'insight',
'insights',
'trend',
'trends',
'anomaly',
'anomalies',
'alert',
'alerts',
'notification',
'notifications',
'log',
'logs',
'trace',
'traces',
'span',
'spans',
'error',
'errors',
'warning',
'warnings',
'info',
'debug',
'stack',
'stacktrace',
// common nouns: dev / engineering
'code',
'snippet',
'snippets',
'file',
'files',
'folder',
'folders',
'directory',
'directories',
'path',
'paths',
'branch',
'branches',
'commit',
'commits',
'merge',
'merges',
'pull',
'request',
'requests',
'pr',
'prs',
'issue',
'issues',
'ticket',
'tickets',
'bug',
'bugs',
'feature',
'task',
'tasks',
'story',
'stories',
'epic',
'milestone',
'sprint',
'backlog',
'board',
'boards',
'kanban',
'agile',
'scrum',
'build',
'builds',
'pipeline',
'pipelines',
'workflow',
'workflows',
'job',
'jobs',
'step',
'steps',
'stage',
'stages',
'deploy',
'deploys',
'release',
'version',
'versions',
'tag',
'tags',
'repo',
'repos',
'repository',
'repositories',
'fork',
'forks',
'clone',
'clones',
'function',
'functions',
'method',
'methods',
'class',
'classes',
'module',
'modules',
'package',
'packages',
'library',
'libraries',
'framework',
'frameworks',
'dependency',
'dependencies',
'import',
'imports',
'export',
'exports',
'type',
'types',
'interface',
'interfaces',
'enum',
'enums',
'variable',
'variables',
'constant',
'constants',
'parameter',
'parameters',
'argument',
'arguments',
'return',
'returns',
'string',
'number',
'boolean',
'array',
'object',
'null',
'true',
'false',
'undefined',
'void',
'request',
'requests',
'response',
'responses',
'endpoint',
'endpoints',
'route',
'routes',
'url',
'uri',
'host',
'domain',
'subdomain',
'port',
'header',
'headers',
'body',
'payload',
'params',
'query',
'method',
'get',
'post',
'put',
'patch',
'delete',
'head',
'options',
'status',
'code',
'ok',
'created',
'accepted',
'moved',
'found',
'redirect',
'bad',
'request',
'unauthorized',
'forbidden',
'notfound',
'conflict',
'unprocessable',
'internal',
'server',
'gateway',
'timeout',
'service',
'services',
'server',
'servers',
'client',
'clients',
'database',
'databases',
'db',
'schema',
'migration',
'migrations',
'index',
'indexes',
'cache',
'caches',
'queue',
'queues',
'stream',
'streams',
'topic',
'topics',
'channel',
'channels',
'container',
'containers',
'pod',
'pods',
'node',
'nodes',
'cluster',
'clusters',
'namespace',
'namespaces',
'deployment',
'deployments',
'replica',
'replicas',
'auth',
'oauth',
'sso',
'saml',
'ldap',
'jwt',
'bearer',
'basic',
'api',
'sdk',
'cli',
'gui',
'ui',
'ux',
'rest',
'graphql',
'grpc',
'rpc',
'soap',
'websocket',
'http',
'https',
'tcp',
'udp',
'ssl',
'tls',
// statuses & feedback
'active',
'inactive',
'enabled',
'disabled',
'online',
'offline',
'available',
'unavailable',
'open',
'closed',
'running',
'stopped',
'paused',
'pending',
'queued',
'scheduled',
'processing',
'completed',
'complete',
'incomplete',
'succeeded',
'success',
'successful',
'failed',
'failure',
'failing',
'error',
'errored',
'warning',
'warnings',
'info',
'notice',
'ready',
'not',
'ready',
'expired',
'active',
'inactive',
'draft',
'published',
'unpublished',
'approved',
'rejected',
'pending',
'review',
'in',
'progress',
'blocked',
'unblocked',
'verified',
'unverified',
'locked',
'unlocked',
// billing / payments
'billing',
'invoice',
'invoices',
'receipt',
'receipts',
'payment',
'payments',
'card',
'cards',
'credit',
'debit',
'bank',
'transfer',
'wire',
'ach',
'paypal',
'stripe',
'currency',
'currencies',
'subscription',
'subscriptions',
'plan',
'plans',
'tier',
'tiers',
'usage',
'limit',
'limits',
'quota',
'quotas',
'balance',
'credit',
'credits',
'discount',
'discounts',
'coupon',
'coupons',
'promo',
'tax',
'taxes',
'vat',
'fee',
'fees',
'refund',
'refunds',
'charge',
'charges',
'transaction',
'transactions',
'monthly',
'yearly',
'annual',
'annually',
'weekly',
'daily',
'hourly',
// time / date words
'today',
'yesterday',
'tomorrow',
'now',
'soon',
'later',
'ago',
'second',
'seconds',
'sec',
'minute',
'minutes',
'min',
'hour',
'hours',
'hr',
'day',
'days',
'week',
'weeks',
'month',
'months',
'quarter',
'quarters',
'year',
'years',
'monday',
'tuesday',
'wednesday',
'thursday',
'friday',
'saturday',
'sunday',
'mon',
'tue',
'wed',
'thu',
'fri',
'sat',
'sun',
'january',
'february',
'march',
'april',
'may',
'june',
'july',
'august',
'september',
'october',
'november',
'december',
'jan',
'feb',
'mar',
'apr',
'jun',
'jul',
'aug',
'sep',
'sept',
'oct',
'nov',
'dec',
'am',
'pm',
'gmt',
'utc',
'morning',
'afternoon',
'evening',
'night',
// adjectives / quantifiers
'new',
'old',
'recent',
'latest',
'earliest',
'first',
'last',
'next',
'previous',
'prior',
'current',
'upcoming',
'past',
'future',
'default',
'custom',
'auto',
'manual',
'automatic',
'auto',
'primary',
'secondary',
'tertiary',
'main',
'alternate',
'alt',
'small',
'medium',
'large',
'xs',
'sm',
'md',
'lg',
'xl',
'xxl',
'short',
'long',
'wide',
'narrow',
'thin',
'thick',
'tall',
'high',
'low',
'fast',
'slow',
'quick',
'easy',
'hard',
'simple',
'advanced',
'basic',
'free',
'paid',
'open',
'closed',
'private',
'public',
'shared',
'personal',
'global',
'local',
'remote',
'internal',
'external',
'production',
'prod',
'staging',
'stage',
'development',
'dev',
'test',
'qa',
'preview',
'demo',
'sandbox',
'live',
'draft',
'beta',
'alpha',
'stable',
'experimental',
'good',
'bad',
'ok',
'great',
'best',
'worst',
'better',
'worse',
'always',
'never',
'sometimes',
'often',
'rarely',
'usually',
// generic words / hellos / placeholders
'hello',
'hi',
'welcome',
'thanks',
'thank',
'you',
'please',
'sorry',
'oops',
'wow',
'yes',
'no',
'maybe',
'done',
'ready',
'loading',
'wait',
'waiting',
'almost',
'there',
'untitled',
'unnamed',
'anonymous',
'guest',
// English contractions — negative auxiliaries
"don't",
"doesn't",
"didn't",
"isn't",
"aren't",
"wasn't",
"weren't",
"haven't",
"hasn't",
"hadn't",
"can't",
'cannot',
"couldn't",
"won't",
"wouldn't",
"shouldn't",
"shan't",
"mustn't",
"mightn't",
"needn't",
"oughtn't",
// be/have/will/would copulas
"i'm",
"i've",
"i'll",
"i'd",
"you're",
"you've",
"you'll",
"you'd",
"we're",
"we've",
"we'll",
"we'd",
"they're",
"they've",
"they'll",
"they'd",
"he's",
"he'll",
"he'd",
"she's",
"she'll",
"she'd",
"it's",
"it'll",
"it'd",
// interrogative / demonstrative contractions
"that's",
"there's",
"here's",
"what's",
"who's",
"where's",
"when's",
"how's",
"why's",
"let's",
"ain't",
// would've/could've/should've family
"would've",
"could've",
"should've",
"must've",
"might've",
// clipped / colloquial
"y'all",
"ya'll",
"ma'am",
"o'clock",
"'cause",
"'em",
"'tis",
// misc kept-with-apostrophe
"rock'n'roll",
// common locale-/region-y words
'english',
'spanish',
'french',
'german',
'japanese',
'chinese',
'korean',
'portuguese',
'italian',
'dutch',
'russian',
'arabic',
'global',
'world',
'international',
'usa',
'us',
'uk',
'eu',
'europe',
'asia',
'africa',
'americas',
// analytics / posthog vocabulary
'posthog',
'analytics',
'tracking',
'telemetry',
'events',
'properties',
'persons',
'person',
'groups',
'cohorts',
'feature',
'flags',
'experiments',
'surveys',
'replay',
'recordings',
'sessions',
'insights',
'dashboards',
'actions',
'annotations',
'plugins',
'apps',
'pipelines',
'destinations',
'sources',
'warehouse',
'datasets',
'queries',
'saved',
'trend',
'funnel',
'retention',
'stickiness',
'paths',
'lifecycle',
'breakdown',
'filter',
'filters',
'interval',
'intervals',
'unique',
'uniques',
'distinct',
// common SaaS verbs / nouns
'onboarding',
'checkout',
'signup',
'signin',
'feedback',
'support',
'contact',
'help',
'docs',
'documentation',
'guide',
'guides',
'tutorial',
'tutorials',
'example',
'examples',
'demo',
'demos',
'video',
'videos',
'article',
'articles',
'post',
'posts',
'blog',
'news',
'changelog',
'roadmap',
'status',
'uptime',
'faq',
'about',
'privacy',
'terms',
'legal',
'security',
'compliance',
// letters of the alphabet
'a',
'b',
'c',
'd',
'e',
'f',
'g',
'h',
'i',
'j',
'k',
'l',
'm',
'n',
'o',
'p',
'q',
'r',
's',
't',
'u',
'v',
'w',
'x',
'y',
'z',
]
export const DEFAULT_URL_SEGMENTS: string[] = [
// api versions / shapes
'api',
'apis',
'v1',
'v2',
'v3',
'v4',
'v5',
'v6',
'v7',
'graphql',
'gql',
'rest',
'rpc',
'grpc',
'trpc',
'soap',
'ws',
'webhook',
'webhooks',
'callback',
'callbacks',
'internal',
'external',
'public',
'private',
'beta',
'alpha',
'preview',
'edge',
'experimental',
// auth / identity
'auth',
'oauth',
'oauth2',
'openid',
'saml',
'sso',
'ldap',
'jwt',
'login',
'logout',
'signin',
'signout',
'signup',
'register',
'registration',
'verify',
'verification',
'confirm',
'confirmation',
'forgot',
'reset',
'recover',
'recovery',
'password',
'passcode',
'mfa',
'2fa',
'otp',
'totp',
'callback',
'callbacks',
// common app surfaces
'home',
'index',
'dashboard',
'dashboards',
'overview',
'feed',
'timeline',
'explore',
'discover',
'trending',
'search',
'results',
'settings',
'preferences',
'profile',
'profiles',
'account',
'accounts',
'user',
'users',
'me',
'self',
'you',
'billing',
'subscription',
'subscriptions',
'plan',
'plans',
'pricing',
'checkout',
'cart',
'order',
'orders',
'invoice',
'invoices',
'receipt',
'receipts',
'payment',
'payments',
'card',
'cards',
'team',
'teams',
'organization',
'organizations',
'org',
'orgs',
'company',
'companies',
'workspace',
'workspaces',
'project',
'projects',
'group',
'groups',
'members',
'member',
'admins',
'admin',
'owner',
'owners',
'guest',
'guests',
'invite',
'invites',
'invitation',
'invitations',
// CRUD verbs / list ops
'new',
'edit',
'create',
'update',
'delete',
'remove',
'restore',
'archive',
'duplicate',
'clone',
'fork',
'copy',
'move',
'rename',
'list',
'all',
'show',
'view',
'preview',
'details',
'detail',
'summary',
'stats',
'stat',
'info',
'about',
'import',
'export',
'download',
'upload',
'share',
'embed',
'search',
'filter',
'sort',
'group',
'compare',
// e-commerce
'products',
'product',
'catalog',
'store',
'shop',
'category',
'categories',
'collection',
'collections',
'brand',
'brands',
'tag',
'tags',
'review',
'reviews',
'wishlist',
'favorites',
'saved',
// content
'posts',
'post',
'articles',
'article',
'blog',
'blogs',
'news',
'press',
'media',
'stories',
'story',
'comments',
'comment',
'likes',
'like',
'reactions',
'shares',
'share',
'pages',
'page',
'docs',
'doc',
'documentation',
'guide',
'guides',
'tutorial',
'tutorials',
'manual',
'reference',
'help',
'support',
'faq',
'faqs',
'contact',
'feedback',
'about',
'team',
'careers',
'jobs',
'press',
'privacy',
'terms',
'tos',
'legal',
'security',
'compliance',
'cookies',
'sitemap',
'changelog',
'roadmap',
'status',
'uptime',
// developer / api
'developers',
'developer',
'dev',
'console',
'playground',
'sandbox',
'examples',
'example',
'samples',
'sample',
'code',
'snippets',
'snippet',
'demo',
'demos',
'tools',
'tool',
'cli',
'sdk',
'sdks',
'library',
'libraries',
'package',
'packages',
'downloads',
'download',
'releases',
'release',
'versions',
'version',
// assets / static
'static',
'assets',
'asset',
'public',
'files',
'file',
'media',
'uploads',
'upload',
'images',
'image',
'img',
'icons',
'icon',
'logos',
'logo',
'videos',
'video',
'audio',
'fonts',
'font',
'css',
'js',
'javascript',
'ts',
'typescript',
'html',
'json',
'xml',
'yaml',
'toml',
'markdown',
'md',
'txt',
'pdf',
'thumbnails',
'thumbnail',
'thumbs',
'avatars',
'avatar',
'fonts',
'vendor',
'node_modules',
'build',
'dist',
'out',
// analytics / posthog domain
'events',
'event',
'persons',
'person',
'groups',
'cohorts',
'cohort',
'feature_flags',
'flags',
'flag',
'experiments',
'experiment',
'surveys',
'survey',
'replay',
'recordings',
'recording',
'sessions',
'session',
'insights',
'insight',
'dashboards',
'dashboard',
'actions',
'action',
'annotations',
'annotation',
'plugins',
'plugin',
'apps',
'app',
'pipelines',
'pipeline',
'destinations',
'destination',
'sources',
'source',
'warehouse',
'datasets',
'dataset',
'queries',
'query',
'saved',
'trends',
'trend',
'funnels',
'funnel',
'retention',
'stickiness',
'paths',
'path',
'lifecycle',
'explore',
'sql',
'notebooks',
'notebook',
'alerts',
'alert',
'subscriptions',
'subscription',
// ops / infra
'health',
'healthz',
'ready',
'readyz',
'ping',
'status',
'metrics',
'logs',
'log',
'traces',
'trace',
'debug',
'monitor',
'monitoring',
'alerts',
'alert',
'incidents',
'incident',
'errors',
'error',
'audit',
'auditlog',
'history',
'activity',
'activities',
'tasks',
'task',
'jobs',
'job',
'workers',
'worker',
'queue',
'queues',
'schedules',
'schedule',
'cron',
// generic resource patterns
'data',
'records',
'items',
'entries',
'objects',
'graph',
'report',
'reports',
'exports',
'imports',
'auth',
'callback',
'redirect',
'verify',
'confirm',
// locale prefixes
'en',
'us',
'uk',
'eu',
'de',
'fr',
'es',
'it',
'pt',
'br',
'jp',
'kr',
'cn',
'tw',
'hk',
'in',
'au',
'ca',
'mx',
'ru',
'nl',
'se',
'no',
'dk',
'fi',
'pl',
'en-us',
'en-gb',
'en-au',
'en-ca',
'es-es',
'es-mx',
'fr-fr',
'fr-ca',
'de-de',
'pt-br',
'pt-pt',
'zh-cn',
'zh-tw',
'ja-jp',
// pagination markers
'page',
'pages',
'next',
'prev',
'previous',
'first',
'last',
'more',
]
let cachedDefault: AllowLists | undefined
/** The default allow lists, built once and shared (the underlying lists are immutable). */
export function defaultAllowLists(): AllowLists {
return (cachedDefault ??= new AllowLists(DEFAULT_TEXT_WORDS, DEFAULT_URL_SEGMENTS))
}