1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Overview-BSfZV8B9.js","assets/index-tNhE6V5Q.js","assets/index-C1DkkyhU.css","assets/Dash-4uLE9yHf.js","assets/Performance-BUaQUibI.js","assets/Auditor-DYK73UQ1.js","assets/Tools-B_oB3h0P.js","assets/PromptVoice-D_BKOkGy.js","assets/Settings-DpLaLpTe.js"])))=>i.map(i=>d[i]); 2import{c as d,u as l,j as t,r as o,_ as a}from"./index-tNhE6V5Q.js";import{D as m,c as p,L as _}from"./Dash-4uLE9yHf.js";const u=o.lazy(()=>a(()=>import("./Overview-BSfZV8B9.js"),__vite__mapDeps([0,1,2,3]))),v=o.lazy(()=>a(()=>import("./Performance-BUaQUibI.js"),__vite__mapDeps([4,1,2,3]))),x=o.lazy(()=>a(()=>import("./Auditor-DYK73UQ1.js"),__vite__mapDeps([5,1,2,3]))),g=o.lazy(()=>a(()=>import("./Tools-B_oB3h0P.js"),__vite__mapDeps([6,1,2,3]))),A=o.lazy(()=>a(()=>import("./PromptVoice-D_BKOkGy.js"),__vite__mapDeps([7,1,2,3]))),E=o.lazy(()=>a(()=>import("./Settings-DpLaLpTe.js"),__vite__mapDeps([8,1,2,3]))),i=[["overview","Overview"],["performance","Performance"],["auditor","Auditor"],["tools","Tools"],["prompt","Prompt & Voice"],["settings","Settings"]],f={overview:"CSAT, volume, sales impact and the self-improvement loop",performance:"Latency, cost, tokens and commercial impact",auditor:"Daily audit findings, corrections, policies and KB gaps",tools:"What Amico is allowed to do â usage and kill switches",prompt:"Custom instructions, brand voice and business context",settings:"Widget, discounts, cancellations and the WhatsApp desk agent"};function b(){const{tab:r}=d(),n=l(),e=i.some(([s])=>s===r)?r:"overview";return t.jsxs(m,{children:[t.jsx(p,{title:"AI Agent",sub:f[e],sources:["storefront_chat","llm_usage","agent_audit"]}),t.jsx("div",{className:"flex gap-1.5 flex-wrap mb-5",children:i.map(([s,c])=>t.jsx("button",{onClick:()=>n(s==="overview"?"/console/admin/agent":`/console/admin/agent/${s}`),className:`text-[12px] rounded-full px-3.5 py-1.5 border transition-colors ${e===s?"bg-[#4338CA] text-white border-[#4338CA]":"bg-white text-[#59616F] border-[#E5E8ED] hover:border-[#c9cdd6]"}`,children:c},s))}),t.jsxs(o.Suspense,{fallback:t.jsx(_,{}),children:[e==="overview"&&t.jsx(u,{}),e==="performance"&&t.jsx(v,{}),e==="auditor"&&t.jsx(x,{}),e==="tools"&&t.jsx(g,{}),e==="prompt"&&t.jsx(A,{}),e==="settings"&&t.jsx(E,{})]})]})}export{b as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.