module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},50645,a=>{a.n(a.i(27572))},43619,a=>{a.n(a.i(79962))},13718,a=>{a.n(a.i(85523))},18198,a=>{a.n(a.i(45518))},62212,a=>{a.n(a.i(66114))},1294,a=>{a.n(a.i(62589))},134,a=>{"use strict";var b=a.i(7997);let c=`<script
  src="https://cdn.aeye.lk/widget.js"
  data-bot-id="your-bot-id"
  data-base-url="https://app.aeye.lk"
></script>`,d=`import { useEffect } from "react";

useEffect(() => {
  window.AEyeWidget?.init({
    botId: "your-bot-id",
    baseUrl: "https://app.aeye.lk",
    theme: {
      primaryColor: "#7c3aed",
      position: "right",
    },
  });
}, []);`;function e(){return(0,b.jsxs)("div",{className:"bg-white",children:[(0,b.jsx)("div",{className:"bg-gradient-to-b from-[var(--color-bg-soft)] to-white pb-4 pt-16",children:(0,b.jsx)("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:(0,b.jsxs)("div",{className:"mx-auto max-w-2xl text-center",children:[(0,b.jsx)("p",{className:"text-sm font-semibold text-[var(--color-bg-brand)]",children:"Documentation"}),(0,b.jsx)("h1",{className:"mt-2 font-display text-4xl font-bold sm:text-5xl",children:"AEye quickstart"}),(0,b.jsx)("p",{className:"mt-4 text-lg text-[var(--color-text-secondary)]",children:"Create a bot, train it with your content, and deploy the widget on your site."})]})})}),(0,b.jsxs)("div",{className:"mx-auto max-w-6xl space-y-10 px-4 py-12 sm:px-6",children:[(0,b.jsxs)("div",{className:"grid gap-5 md:grid-cols-2",children:[(0,b.jsx)(f,{step:"01",title:"Create a bot",items:["Open Dashboard > Bots > Create bot","Complete the setup questionnaire","Save to generate a botId"]}),(0,b.jsx)(f,{step:"02",title:"Find your botId",items:["Dashboard > Bots > select your bot","botId is shown in the summary card","Use it in the widget snippet and API calls"]}),(0,b.jsx)(f,{step:"03",title:"Add your OpenAI key",items:["Dashboard > Settings","Paste your key, test connection, then save","Keys are encrypted server-side and never exposed to the client"]}),(0,b.jsx)(f,{step:"04",title:"Install the widget",items:["Copy the snippet below into your site before </body>","Customize launcher colors in the dashboard","Verify chat loads on your page"]})]}),(0,b.jsxs)("div",{className:"grid gap-5 md:grid-cols-2",children:[(0,b.jsx)(g,{title:"HTML snippet",code:c}),(0,b.jsx)(g,{title:"React snippet",code:d})]})]})]})}function f({step:a,title:c,items:d}){return(0,b.jsxs)("div",{className:"rounded-2xl border border-[var(--color-border-light)] bg-white p-6 transition hover:shadow-card",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"flex h-9 w-9 items-center justify-center rounded-xl bg-[var(--color-bg-soft)] text-xs font-bold text-[var(--color-bg-brand)]",children:a}),(0,b.jsx)("p",{className:"font-semibold",children:c})]}),(0,b.jsx)("ul",{className:"mt-4 space-y-2.5 text-sm text-[var(--color-text-secondary)]",children:d.map(a=>(0,b.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,b.jsx)("svg",{className:"mt-0.5 h-4 w-4 shrink-0 text-[var(--color-bg-brand)]",fill:"currentColor",viewBox:"0 0 20 20",children:(0,b.jsx)("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"})}),(0,b.jsx)("span",{children:a})]},a))})]})}function g({title:a,code:c}){return(0,b.jsxs)("div",{className:"rounded-2xl border border-[var(--color-border-light)] bg-white p-6 transition hover:shadow-card",children:[(0,b.jsx)("p",{className:"font-semibold",children:a}),(0,b.jsx)("pre",{className:"mt-4 overflow-x-auto rounded-xl bg-[#1a1a2e] p-4 text-sm leading-relaxed text-slate-300",children:c})]})}a.s(["default",()=>e,"metadata",0,{title:"Documentation — AEye Quickstart Guide",description:"Create a bot, add your API key, train it with your content, and install the widget on your site. Step-by-step guide.",openGraph:{title:"AEye Documentation",description:"Get started with AEye in minutes.",url:"https://aeye.lk/docs"},alternates:{canonical:"https://aeye.lk/docs"}}])}];

//# sourceMappingURL=%5Broot-of-the-server%5D__e8b3fe22._.js.map