1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9679],{1291:(e,s,t)=>{"use strict";t.d(s,{vp:()=>r,w6:()=>l,xs:()=>a});let r={responseTimeSeconds:14,totalLeads:1497,testDrives:120,aiMessages:10073,carsSold:82,onboardingHoursMin:24,onboardingHoursMax:48},a={responseTime:`${r.responseTimeSeconds} sec`,responseTimeShort:`${r.responseTimeSeconds}s`,responseTimeLong:`${r.responseTimeSeconds} seconds`,totalLeads:r.totalLeads.toLocaleString("en-US"),testDrives:r.testDrives.toLocaleString("en-US"),aiMessages:r.aiMessages.toLocaleString("en-US"),carsSold:r.carsSold.toLocaleString("en-US"),onboarding:`${r.onboardingHoursMin} to ${r.onboardingHoursMax} hours`},l={testDriveConversion:`${(r.testDrives/r.totalLeads*100).toFixed(0)}%`}},3554:(e,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),!function(e,s){for(var t in s)Object.defineProperty(e,t,{enumerable:!0,get:s[t]})}(s,{bindSnapshot:function(){return n},createAsyncLocalStorage:function(){return l},createSnapshot:function(){return i}});let t=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw t}getStore(){}run(){throw t}exit(){throw t}enterWith(){throw t}static bind(e){return e}}let a="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function l(){return a?new a:new r}function n(e){return a?a.bind(e):r.bind(e)}function i(){return a?a.snapshot():function(e,...s){return e(...s)}}},3614:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(89947).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},7798:(e,s,t)=>{"use strict";t.r(s),t.d(s,{FeaturesDashboardMockup:()=>b});var r=t(87487),a=t(77079),l=t(89766),n=t(35329),i=t(3614),o=t(38856),d=t(88624);let c=(0,t(89947).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);var x=t(81463),m=t(17739),p=t(1291);let u=["activity","performance"];function h({barsIn:e}){return(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"grid grid-cols-3 gap-2.5",children:[(0,r.jsxs)("div",{className:"rounded-xl p-3.5",style:{background:"rgba(107,142,212,0.08)",border:"1px solid rgba(107,142,212,0.18)"},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 mb-2",children:[(0,r.jsx)(l.A,{size:11,style:{color:"#6b8ed4"},strokeWidth:2,"aria-hidden":!0}),(0,r.jsx)("p",{className:"text-[9px] font-semibold uppercase tracking-wide",style:{color:"#6b8ed4"},children:"AI Messages"})]}),(0,r.jsx)("p",{className:"text-[26px] font-extrabold font-display leading-none",style:{color:"#f1f5f9"},children:p.xs.aiMessages}),(0,r.jsx)("p",{className:"text-[9px] mt-1.5",style:{color:"#475569"},children:"automated this period"})]}),(0,r.jsxs)("div",{className:"rounded-xl p-3.5",style:{background:"rgba(34,197,94,0.08)",border:"1px solid rgba(34,197,94,0.18)"},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 mb-2",children:[(0,r.jsx)(n.A,{size:11,style:{color:"#34d399"},strokeWidth:2,"aria-hidden":!0}),(0,r.jsx)("p",{className:"text-[9px] font-semibold uppercase tracking-wide",style:{color:"#34d399"},children:"Test Drives"})]}),(0,r.jsx)("p",{className:"text-[26px] font-extrabold font-display leading-none",style:{color:"#f1f5f9"},children:p.xs.testDrives}),(0,r.jsxs)("p",{className:"text-[9px] mt-1.5",style:{color:"#475569"},children:[p.w6.testDriveConversion," conversion"]})]}),(0,r.jsxs)("div",{className:"rounded-xl p-3.5",style:{background:"rgba(245,158,11,0.08)",border:"1px solid rgba(245,158,11,0.18)"},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 mb-2",children:[(0,r.jsx)(i.A,{size:11,style:{color:"#f59e0b"},strokeWidth:2,"aria-hidden":!0}),(0,r.jsx)("p",{className:"text-[9px] font-semibold uppercase tracking-wide",style:{color:"#f59e0b"},children:"Avg Response"})]}),(0,r.jsxs)("p",{className:"text-[26px] font-extrabold font-display leading-none",style:{color:"#f1f5f9"},children:[p.vp.responseTimeSeconds,(0,r.jsx)("span",{className:"text-base font-bold ml-0.5",style:{color:"#f59e0b"},children:"s"})]}),(0,r.jsx)("p",{className:"text-[9px] mt-1.5",style:{color:"#475569"},children:"industry avg 2+ hrs"})]})]}),(0,r.jsxs)("div",{className:"rounded-xl px-3.5 py-3 flex items-center justify-between",style:{background:"rgba(34,197,94,0.06)",border:"1px solid rgba(34,197,94,0.15)"},children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-2 h-2 rounded-full bg-emerald-400 animate-pulse","aria-hidden":!0}),(0,r.jsx)("span",{className:"text-[10px] font-semibold",style:{color:"#34d399"},children:"Last 30 Days"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("p",{className:"text-sm font-extrabold font-display",style:{color:"#f1f5f9"},children:p.xs.totalLeads}),(0,r.jsx)("p",{className:"text-[8px]",style:{color:"#475569"},children:"Total Leads"})]}),(0,r.jsx)("div",{className:"w-px h-4",style:{background:"rgba(255,255,255,0.07)"},"aria-hidden":!0}),(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("p",{className:"text-sm font-extrabold font-display",style:{color:"#f1f5f9"},children:p.xs.testDrives}),(0,r.jsx)("p",{className:"text-[8px]",style:{color:"#475569"},children:"Test Drives"})]}),(0,r.jsx)("div",{className:"w-px h-4",style:{background:"rgba(255,255,255,0.07)"},"aria-hidden":!0}),(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("p",{className:"text-sm font-extrabold font-display",style:{color:"#f1f5f9"},children:p.xs.carsSold}),(0,r.jsx)("p",{className:"text-[8px]",style:{color:"#475569"},children:"Cars Sold"})]})]})]}),(0,r.jsxs)("div",{className:"rounded-xl px-3.5 py-3",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.06)"},children:[(0,r.jsx)("p",{className:"text-[9px] font-bold uppercase tracking-wide mb-2.5",style:{color:"#475569"},children:"Response Time Comparison"}),(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{className:"text-[9px] w-16 flex-shrink-0 font-semibold",style:{color:"#4ade80"},children:"Nemroot"}),(0,r.jsx)("div",{className:"flex-1 h-2 rounded-full overflow-hidden",style:{background:"rgba(255,255,255,0.06)"},children:(0,r.jsx)("div",{className:"h-full rounded-full",style:{width:e?"4%":"0%",background:"linear-gradient(90deg, #22c55e, #10b981)",transition:"width 1.4s cubic-bezier(0.4,0,0.2,1)"}})}),(0,r.jsx)("span",{className:"text-[9px] font-bold flex-shrink-0",style:{color:"#4ade80"},children:p.xs.responseTime})]}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{className:"text-[9px] w-16 flex-shrink-0",style:{color:"#475569"},children:"Industry"}),(0,r.jsx)("div",{className:"flex-1 h-2 rounded-full overflow-hidden",style:{background:"rgba(255,255,255,0.06)"},children:(0,r.jsx)("div",{className:"h-full rounded-full",style:{width:e?"100%":"
10%",background:"rgba(148,163,184,0.2)",transition:"width 1.6s cubic-bezier(0.4,0,0.2,1)"}})}),(0,r.jsx)("span",{className:"text-[9px] flex-shrink-0",style:{color:"#475569"},children:"2+ hrs"})]})]})]})]})}function f(){return(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"grid grid-cols-3 gap-2.5",children:[(0,r.jsxs)("div",{className:"rounded-xl p-3.5",style:{background:"rgba(59,130,246,0.08)",border:"1px solid rgba(59,130,246,0.18)"},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 mb-2",children:[(0,r.jsx)(o.A,{size:11,style:{color:"#60a5fa"},strokeWidth:2,"aria-hidden":!0}),(0,r.jsx)("p",{className:"text-[9px] font-semibold uppercase tracking-wide",style:{color:"#60a5fa"},children:"Cars Sold"})]}),(0,r.jsx)("p",{className:"text-[26px] font-extrabold font-display leading-none",style:{color:"#f1f5f9"},children:p.xs.carsSold}),(0,r.jsx)("p",{className:"text-[9px] mt-1.5",style:{color:"#475569"},children:"from AI conversations"})]}),(0,r.jsxs)("div",{className:"rounded-xl p-3.5",style:{background:"rgba(34,197,94,0.08)",border:"1px solid rgba(34,197,94,0.18)"},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 mb-2",children:[(0,r.jsx)(d.A,{size:11,style:{color:"#34d399"},strokeWidth:2,"aria-hidden":!0}),(0,r.jsx)("p",{className:"text-[9px] font-semibold uppercase tracking-wide",style:{color:"#34d399"},children:"Total Leads"})]}),(0,r.jsx)("p",{className:"text-[26px] font-extrabold font-display leading-none",style:{color:"#f1f5f9"},children:p.xs.totalLeads}),(0,r.jsx)("p",{className:"text-[9px] mt-1.5",style:{color:"#475569"},children:"last 30 days"})]}),(0,r.jsxs)("div",{className:"rounded-xl p-3.5",style:{background:"rgba(168,85,247,0.08)",border:"1px solid rgba(168,85,247,0.18)"},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 mb-2",children:[(0,r.jsx)(c,{size:11,style:{color:"#c084fc"},strokeWidth:2,"aria-hidden":!0}),(0,r.jsx)("p",{className:"text-[9px] font-semibold uppercase tracking-wide",style:{color:"#c084fc"},children:"Conversion"})]}),(0,r.jsx)("p",{className:"text-[26px] font-extrabold font-display leading-none",style:{color:"#f1f5f9"},children:p.w6.testDriveConversion}),(0,r.jsx)("p",{className:"text-[9px] mt-1.5",style:{color:"#475569"},children:"lead to test drive"})]})]}),(0,r.jsxs)("div",{className:"rounded-xl px-3.5 py-3",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.06)"},children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(x.A,{size:12,className:"text-amber-400 fill-amber-400","aria-hidden":!0}),(0,r.jsx)("span",{className:"text-[10px] font-bold",style:{color:"#f1f5f9"},children:"Google Reviews"})]}),(0,r.jsx)("span",{className:"text-[9px]",style:{color:"#475569"},children:"since joining Nemroot"})]}),(0,r.jsx)("div",{className:"grid grid-cols-4 gap-2",children:[{label:"Rating",value:"4.3 â
",color:"#fbbf24"},{label:"Total",value:"592",color:"#f1f5f9"},{label:"New",value:"+121",color:"#4ade80"},{label:"5-Star",value:"79%",color:"#4ade80"}].map(e=>(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("p",{className:"text-sm font-extrabold font-display",style:{color:e.color},children:e.value}),(0,r.jsx)("p",{className:"text-[8px] mt-0.5",style:{color:"#475569"},children:e.label})]},e.label))})]}),(0,r.jsxs)("div",{className:"grid grid-cols-3 gap-2.5",children:[(0,r.jsxs)("div",{className:"rounded-xl px-3 py-2.5 flex items-center gap-2",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.06)"},children:[(0,r.jsx)(m.A,{size:14,style:{color:"#f59e0b"},strokeWidth:1.8,"aria-hidden":!0}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm font-extrabold font-display leading-none",style:{color:"#f1f5f9"},children:p.xs.responseTimeShort}),(0,r.jsx)("p",{className:"text-[8px] mt-0.5",style:{color:"#475569"},children:"Avg Response"})]})]}),(0,r.jsxs)("div",{className:"rounded-xl px-3 py-2.5 flex items-center gap-2",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.06)"},children:[(0,r.jsx)(l.A,{size:14,style:{color:"#06b6d4"},strokeWidth:1.8,"aria-hidden":!0}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm font-extrabold font-display leading-none",style:{color:"#f1f5f9"},children:p.xs.aiMessages}),(0,r.jsx)("p",{className:"text-[8px] mt-0.5",style:{color:"#475569"},children:"AI Messages"})]})]}),(0,r.jsxs)("div",{className:"rounded-xl px-3 py-2.5 flex items-center gap-2",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.06)"},children:[(0,r.jsx)(i.A,{size:14,style:{color:"#c084fc"},strokeWidth:1.8,"aria-hidden":!0}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm font-extrabold font-display leading-none",style:{color:"#f1f5f9"},children:"24/7"}),(0,r.jsx)("p",{className:"text-[8px] mt-0.5",style:{color:"#475569"},children:"Always On"})]})]})]})]})}function b(){let[e,s]=(0,a.useState)("activity"),[t,l]=(0,a.useState)(!1),[n,i]=(0,a.useState)(!1),d=(0,a.useRef)(!0),x=e=>{d.current&&(l(!0),setTimeout(()=>{d.current&&(s(e),i(!1),l(!1),setTimeout(()=>{d.current&&i(!0)},100))},300))};(0,a.useEffect)(()=>
1{if(d.current=!0,window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void i(!0);i(!0);let e=0,s=null;return s=setTimeout(function t(){d.current&&(e=(e+1)%u.length,x(u[e]),s=setTimeout(t,5e3))},5e3),()=>{d.current=!1,s&&clearTimeout(s)}},[]);let m={activity:{label:"AI Activity",Icon:c},performance:{label:"Performance",Icon:o.A}};return(0,r.jsxs)("div",{style:{background:"linear-gradient(145deg, #0d1829 0%, #0a1220 100%)"},children:[(0,r.jsxs)("div",{className:"flex items-center px-4 py-2.5 gap-2",style:{borderBottom:"1px solid rgba(255,255,255,0.07)"},children:[(0,r.jsx)("div",{className:"flex items-center gap-1 overflow-x-auto flex-1 min-w-0 no-scrollbar",children:u.map(s=>{let{label:t,Icon:a}=m[s],l=s===e;return(0,r.jsxs)("button",{type:"button",onClick:()=>x(s),className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-semibold transition-all duration-200 cursor-pointer whitespace-nowrap flex-shrink-0",style:l?{background:"rgba(107,142,212,0.15)",color:"#93b4f0",border:"1px solid rgba(107,142,212,0.25)"}:{color:"#64748b",border:"1px solid transparent"},children:[(0,r.jsx)(a,{size:11,strokeWidth:2,"aria-hidden":!0}),t]},s)})}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 flex-shrink-0",children:[(0,r.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse","aria-hidden":!0}),(0,r.jsx)("span",{className:"text-[10px] font-semibold text-emerald-400",children:"Live"}),(0,r.jsx)("span",{className:"text-[10px] hidden sm:inline",style:{color:"#334155"},children:"\xb7 30 Days"})]})]}),(0,r.jsxs)("div",{className:"p-4 overflow-hidden h-[460px] md:h-[420px]",style:{opacity:+!t,transition:"opacity 0.3s ease"},"aria-live":"polite","aria-atomic":"true",children:["activity"===e&&(0,r.jsx)(h,{barsIn:n}),"performance"===e&&(0,r.jsx)(f,{})]})]})}},10858:(e,s,t)=>{"use strict";function r(e){let{reason:s,children:t}=e;return t}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),t(6502)},13999:(e,s,t)=>{Promise.resolve().then(t.bind(t,90781)),Promise.resolve().then(t.bind(t,10858)),Promise.resolve().then(t.bind(t,57127)),Promise.resolve().then(t.bind(t,36685)),Promise.resolve().then(t.bind(t,7798)),Promise.resolve().then(t.bind(t,36712)),Promise.resolve().then(t.bind(t,32542))},17739:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(89947).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]])},32542:(e,s,t)=>{"use strict";t.r(s),t.d(s,{AnimateOnScroll:()=>l});var r=t(87487),a=t(77079);function l({children:e,className:s="",delay:t=0}){let l=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e,s=l.current;if(!s)return;let r=()=>{s.classList.remove("anim-hidden"),s.classList.add("anim-visible")};if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void s.classList.remove("anim-hidden");if("undefined"==typeof IntersectionObserver)return void r();let a=new IntersectionObserver(([l])=>{l?.isIntersecting&&(e=setTimeout(r,t),a.unobserve(s))},{threshold:.1,rootMargin:"0px 0px -40px 0px"});a.observe(s);let n=setTimeout(()=>{r(),a.disconnect()},1200+t);return()=>{a.disconnect(),clearTimeout(n),void 0!==e&&clearTimeout(e)}},[t]),(0,r.jsx)("div",{ref:l,className:`anim-hidden ${s}`,children:e})}},35329:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(89947).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},36685:(e,s,t)=>{"use strict";t.d(s,{RevenueChart:()=>o});var r=t(87487),a=t(1291);let l=[38,52,44,61,57,73,68,82,75,90,84,96],n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function i(e,s=!1){if(0===e.length)return"";let t=e.map((e,s)=>`${0===s?"M":"L"} ${e.x.toFixed(1)} ${e.y.toFixed(1)}`).join(" ");return s?`${t} L ${e[e.length-1].x.toFixed(1)} 128 L ${e[0].x.toFixed(1)} 128 Z`:t}function o(){let e=Math.min(...l),s=Math.max(...l)-e||1,t=l.map((t,r)=>({x:8+r/(l.length-1)*384,y:8+(1-(t-e)/s)*104}));return(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-xs font-medium text-muted-foreground",children:"Test Drives Booked"}),(0,r.jsx)("p",{className:"text-2xl font-extrabold text-foreground font-display",children:a.xs.testDrives})]}),(0,r.jsx)("span",{className:"text-xs font-bold px-2.5 py-1 rounded-full",style:{background:"rgba(34,197,94,0.12)",border:"1px solid rgba(34,197,94,0.25)",color:"#16a34a"},children:"Last 30 Days"})]}),(0,r.jsxs)("svg",{viewBox:"0 0 400 136",className:"w-full",preserveAspectRatio:"none","aria-hidden":!0,style:{height:"80px"},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"rgFill",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"#22c55e",stopOpacity:"0.28"}),(0,r.jsx)("stop",{offset:"100%",stopColor:"#22c55e",stopOpacity:"0"})]})}),(0,r.jsx)("path",{d:i(t,!0),fill:"url(#rgFill)"}),(0,r.jsx)("path",{d:i(t),fill:"none",stroke:"#22c55e",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("circle",{cx:t[t.length-1].x,cy:t[t.length-1].y,r:"5",fill:"#22c55e",stroke:"white",strokeWidth:"2"})]}),(0,r.jsx)("div",{className:"flex items-center justify-between",children:n.filter((e,s)=>s%3==0).map(e=>(0,r.jsx)("span",{className:"text-[10px] text-muted-foreground",children:e},e))})]})}},36712:(e,s,t)=>{"use strict";
1t.d(s,{VoiceAgentChat:()=>o});var r=t(87487),a=t(77079);let l=(0,t(89947).A)("phone-call",[["path",{d:"M13 2a9 9 0 0 1 9 9",key:"1itnx2"}],["path",{d:"M13 6a5 5 0 0 1 5 5",key:"11nki7"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);var n=t(17739);let i="linear-gradient(135deg, #00a8e8 0%, #0060c8 100%)";function o({scenarios:e,statusLabel:s}){let[t,o]=(0,a.useState)(0),[d,c]=(0,a.useState)(0),[x,m]=(0,a.useState)(!1),[p,u]=(0,a.useState)(!1),[h,f]=(0,a.useState)(!1),[b,g]=(0,a.useState)(!1),y=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),s=()=>g(e.matches);return s(),e.addEventListener("change",s),()=>e.removeEventListener("change",s)},[]),(0,a.useEffect)(()=>{let e=y.current;if(!e)return;let s=new IntersectionObserver(([e])=>f(e?.isIntersecting??!1),{threshold:.3});return s.observe(e),()=>s.disconnect()},[]);let j=e[t];if((0,a.useEffect)(()=>{if(!j)return;if(b){c(j.messages.length),u(!0),m(!1);return}if(!h)return;c(0),u(!1),m(!1);let s=[],t=550;return j.messages.forEach((e,r)=>{s.push(setTimeout(()=>m(!0),t)),t+="agent"===e.role?1050:650,s.push(setTimeout(()=>{m(!1),c(r+1)},t)),t+=480}),s.push(setTimeout(()=>u(!0),t)),t+=2800,s.push(setTimeout(()=>{o(s=>(s+1)%e.length)},t)),()=>s.forEach(clearTimeout)},[j,t,h,b,e.length]),!j)return null;let v=j.messages[d]?.role??"caller",N=x&&d<j.messages.length;return(0,r.jsxs)("div",{ref:y,"aria-hidden":!0,className:"rounded-3xl border border-border dark:border-white/10 bg-surface-elevated p-6 shadow-lg",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-xl",style:{background:i},children:(0,r.jsx)(l,{className:"h-5 w-5 text-white","aria-hidden":!0})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-semibold text-foreground",children:j.title}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground tabular-nums",children:j.meta})]})]}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-emerald-500/10 px-2.5 py-1 text-xs font-semibold text-emerald-600 dark:text-emerald-400",children:[(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-500 animate-pulse","aria-hidden":!0}),s]})]}),(0,r.jsxs)("div",{className:"mt-6 flex min-h-[208px] flex-col gap-3 text-sm",children:[j.messages.slice(0,d).map((e,s)=>"agent"===e.role?(0,r.jsx)("div",{className:"chat-in ml-auto max-w-[85%] rounded-2xl rounded-br-sm px-4 py-3 text-white",style:{background:i},children:e.text},`${t}-${s}`):(0,r.jsx)("div",{className:"chat-in max-w-[80%] rounded-2xl rounded-bl-sm bg-black/[0.04] dark:bg-white/[0.06] px-4 py-3 text-muted-foreground",children:e.text},`${t}-${s}`)),N?(0,r.jsx)("div",{className:`chat-in flex w-fit items-center gap-1 rounded-2xl px-4 py-3.5 ${"agent"===v?"ml-auto rounded-br-sm":"rounded-bl-sm bg-black/[0.04] dark:bg-white/[0.06]"}`,style:"agent"===v?{background:i}:void 0,"aria-hidden":!0,children:[0,1,2].map(e=>(0,r.jsx)("span",{className:`chat-dot h-1.5 w-1.5 rounded-full ${"agent"===v?"bg-white/80":"bg-foreground
1/40"}`,style:{animationDelay:`${.18*e}s`}},e))}):null]}),(0,r.jsx)("div",{className:"mt-6 min-h-[56px]",children:p?(0,r.jsxs)("div",{className:"chat-in flex items-center gap-3 rounded-xl border border-accent/20 bg-accent/5 px-4 py-3",children:[(0,r.jsx)(n.A,{className:"h-4 w-4 flex-shrink-0 text-accent","aria-hidden":!0}),(0,r.jsx)("p",{className:"text-sm text-foreground",children:j.result})]}):null}),(0,r.jsx)("div",{className:"mt-5 flex items-center justify-center gap-2","aria-hidden":!0,children:e.map((e,s)=>(0,r.jsx)("span",{className:`h-1.5 rounded-full transition-all duration-300 ${s===t?"w-5 bg-accent":"w-1.5 bg-foreground/15"}`},e.meta))})]})}},38856:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(89947).A)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]])},55280:(e,s,t)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,t(3554).createAsyncLocalStorage)()},57127:(e,s,t)=>{"use strict";function r(e){let{moduleIds:s}=e;return null}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"PreloadChunks",{enumerable:!0,get:function(){return r}}),t(87487),t(32342),t(69208),t(52725)},69208:(e,s,t)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=t(55280)},81463:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(89947).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},88624:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(89947).A)("users-round",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]])},89766:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(89947).A)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]])},89947:(e,s,t)=>{"use strict";t.d(s,{A:()=>o});var r=t(77079);let a=(...e)=>e.filter((e,s,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===s).join(" ").trim(),l=e=>{let s=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,s,t)=>t?t.toUpperCase():s.toLowerCase());return s.charAt(0).toUpperCase()+s.slice(1)};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,r.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:t=2,absoluteStrokeWidth:l,className:i="",children:o,iconNode:d,...c},x)=>(0,r.createElement)("svg",{ref:x,...n,width:s,height:s,stroke:e,strokeWidth:l?24*Number(t)/Number(s):t,className:a("lucide",i),...!o&&!(e=>{for(let s in e)if(s.startsWith("aria-")||"role"===s||"title"===s)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...d.map(([e,s])=>(0,r.createElement)(e,s)),...Array.isArray(o)?o:[o]])),o=(e,s)=>{let t=(0,r.forwardRef)(({className:t,...n},o)=>(0,r.createElement)(i,{ref:o,iconNode:s,className:a(`lucide-${l(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,t),...n}));return t.displayName=l(e),t}}},e=>{e.O(0,[9410,781,9513,3620,7358],()=>e(e.s=13999)),_N_E=e.O()}]);
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.