window.I18nLocales = window.I18nLocales || {};
window.I18nLocales['en-US'] = {
    nav: {
        features: 'FEATURES',
        browsers: 'BROWSERS',
        workflow: 'WORKFLOW',
        skills: 'SKILLS',
        download: 'DOWNLOAD',
        github: 'GitHub',
        langToggle: '中',
    },
    hero: {
        badge: 'v2.8.1 // BROWSER AUTOMATION',
        openclawBadge: 'NATIVE OPENCLAW SUPPORT',
        titleLine1: "AI Agent's",
        titleLine2: 'Browser Eyes',
        desc: 'Browser extension that gives AI agents <span class="bg-black text-brand-yellow px-1">real eyes</span> into the browser. WebSocket-powered automation for any AI framework. Native <span class="bg-[#E74C3C] text-white px-1">OpenClaw</span> support.',
        deployLabel: 'DEPLOY IN SECONDS',
        deployHint: 'Run in your terminal',
        deployCmdUnix: 'curl -fsSL https://js-eyes.com/install.sh | bash',
        deployCmdWin: 'irm https://js-eyes.com/install.ps1 | iex',
        deployCopy: 'Copy',
        deployResult1: '\u2713 js-eyes installed',
        deployResult2: '\u2713 Plugin registered in resolved openclaw.json',
        deployResult3: '\u2713 Server auto-started on http://localhost:18080',
        deployResult4: '\u2713 Extension connected — 3 tabs synced',
        btnChrome: 'Chrome / Edge Extension',
        btnFirefox: 'Firefox Extension',
        deployTip: 'You can also copy the command and send it to your OpenClaw or other Agent. Plugin mode expects Node.js 22+.',
    },
    marquee: {
        text: 'WEBSOCKET // TAB MANAGEMENT // REMOTE CONTROL // CONTENT EXTRACTION // COOKIE SYNC // CODE INJECTION // OPENCLAW PLUGIN // HEALTH CHECK // SSE FALLBACK // AUTO DISCOVERY // ADAPTIVE AUTH // WEBSOCKET // TAB MANAGEMENT // REMOTE CONTROL //',
    },
    features: {
        title: 'Capabilities',
        browse: { name: 'AI Browses for You', desc: 'Let AI open pages, navigate websites, and search information on your behalf. No manual browsing needed.' },
        form: { name: 'Auto-fill Forms', desc: 'AI fills out forms, submits applications, and handles repetitive input tasks automatically. Say goodbye to tedious data entry.' },
        extract: { name: 'Content Extraction', desc: 'AI reads and extracts key information from any webpage \u2014 prices, articles, competitor data \u2014 and summarizes it for you.' },
        multitab: { name: 'Multi-tab Orchestration', desc: 'AI manages multiple tabs simultaneously \u2014 compare products, research topics, or process tasks in parallel like a dedicated assistant.' },
        zeroconfig: { name: 'Guided Setup', desc: 'Install the skill bundle, register the plugin path, and let the extension connect to the built-in server. The workflow is standardized for ClawHub + OpenClaw.' },
        crossbrowser: { name: 'Cross-browser', desc: 'Works on Chrome, Edge, and Firefox. One solution for all major browsers \u2014 your whole team covered regardless of preference.' },
    },
    browsers: {
        title: 'Browser Support',
        chrome: 'Chrome',
        edge: 'Edge',
        firefox: 'Firefox',
    },
    workflow: {
        title: 'How It Works',
        step1: { name: 'Install Extension', desc: 'Download and load the browser extension \u2014 the only step you do by hand.' },
        step2: { name: 'Send to Agent', desc: 'Copy the deploy command and send it to your OpenClaw or other AI Agent. It installs the bundle, dependencies, and plugin path for you.' },
        step3: { name: 'Reload & Connect', desc: 'Refresh OpenClaw, then let the browser extension connect to the built-in server at http://localhost:18080.' },
        step4: { name: 'Just Talk', desc: 'Tell your Agent what to do \u2014 browse, fill forms, extract data. Chat is all you need.' },
    },
    arch: {
        title: 'Architecture',
        agent: { label: 'AI Agent', name: 'Framework', desc: 'DeepSeek Cowork or any compatible agent sends commands via API' },
        server: { label: 'Server', name: 'Bridge', desc: 'HTTP + WebSocket relay server handles routing and state management' },
        ext: { label: 'JS Eyes', name: 'Extension', desc: 'Executes browser actions: navigation, DOM access, cookie sync, script injection' },
        stats: { commands: 'API Commands', browsers: 'Browsers', config: 'Config', reconnect: 'Auto-reconnect' },
    },
    frameworks: {
        title: 'Compatible Frameworks',
        builtin: {
            name: 'JS Eyes Server',
            badge: 'BUILT-IN',
            desc: 'Lightweight server with HTTP + WebSocket on a single port. No authentication required. Perfect for local development and testing.',
        },
        openclaw: {
            name: 'OpenClaw',
            badge: 'PLUGIN',
            desc: 'Registers as an OpenClaw plugin with 9 AI tools, a background server, and CLI commands. Best for the standard ClawHub/OpenClaw path with Node.js 22+.',
            btn: 'Get OpenClaw',
            hot: 'HOT',
        },
        cowork: {
            name: 'DeepSeek Cowork',
            badge: 'FULL FEATURED',
            desc: 'Complete AI agent framework with dedicated WS port, HMAC authentication, SSE support, and rate limiting built-in.',
            btn: 'View on GitHub',
        },
    },
    skills: {
        title: 'Extension Skills',
        subtitle: 'Higher-level capabilities built on top of JS Eyes browser automation. The main ClawHub bundle stays minimal, so install child skills individually as needed.',
        installLabel: 'INSTALL',
        loading: 'Loading skills\u2026',
        loadFailed: 'Failed to load skill registry. Please refresh and try again.',
        toolsBadge: 'AI TOOLS',
        platformLabel: 'PLATFORM',
        loginBadge: 'LOGIN REQUIRED',
        cookiesBadge: 'BROWSER COOKIES',
        dependsBadge: 'REQUIRES JS-EYES',
        toolsHeader: 'Top tools',
        moreTools: '+{n} more',
        viewHomepage: 'Source',
        viewChangelog: 'Changelog',
        installCmdUnix: 'curl -fsSL https://js-eyes.com/install.sh | JS_EYES_SKILL=${id} bash',
        installCmdWin: '$env:JS_EYES_SKILL="${id}"; irm https://js-eyes.com/install.ps1 | iex',
        more: {
            title: 'More Coming Soon',
            desc: 'Build your own extension skills on top of JS Eyes. Check the docs for the skill development guide.',
            btn: 'Contribute',
        },
        agentHint: {
            title: 'Agent Auto-Discovery',
            desc: 'AI agents with JS Eyes installed can discover and install extension skills automatically via the built-in <span class="text-[#FCD228] font-mono">js-eyes</span> tool and the <span class="text-[#FCD228] font-mono">skills/discover</span> action. The skill registry is hosted at <a href="./skills.json" class="text-[#FCD228] underline hover:no-underline">js-eyes.com/skills.json</a>.',
        },
    },
    cta: {
        title: 'Ready to Automate?',
        desc: 'Give your AI agents the power to see and control the browser.',
        btnDownload: 'Download Latest',
        btnGithub: 'GitHub Repo',
    },
    footer: {
        tagline: 'Browser automation for any AI agent framework',
        releases: 'Releases',
    },
};
