When the site domain resolves to ghost (not found or missing access key), $ae_loc.site_access_code_kv is undefined, causing a TypeError on .super.length. Add early return if kv is absent and use optional chaining on each access level so the function gracefully returns "no match" on unregistered domains. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>