1import{r as d,j as e}from"./react-vendor-IZaRS6ky.js";import{D as l,d as c,e as f,f as a}from"./EmptyState-DjgVqkJZ.js";import{i as m,b as p}from"./index-DG_KSw9G.js";try{(function(){var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="401753b7-7db1-4054-942f-6a9d6bdf8719",s._sentryDebugIdIdentifier="sentry-dbid-401753b7-7db1-4054-942f-6a9d6bdf8719")})()}catch{}const x=d.memo(({nextAgent:s,currentAgent:t,isSwitchingAgent:o,onCancel:n,onConfirm:r})=>{const i=m(t)&&p(s);return e.jsxs(l,{open:!!s,closeOnEscape:!o,closeOnBackdropClick:!o,showCloseButton:!o,onClose:n,contentClassName:"selection-accent max-w-md",children:[e.jsx(c,{title:"Confirm agent switch",description:i?e.jsx("div",{className:"pt-4 grid gap-2",children:e.jsx("p",{children:"Do you want to switch to the new agent?"})}):e.jsxs("div",{className:"pt-4 grid gap-2",children:[e.jsxs("p",{children:["Switching agent will ",e.jsx("b",{className:"text-bolt-ds-textPrimary font-semibold",children:"clear your chat history"}),"."]}),e.jsx("p",{children:"This means the new agent wonât remember any previous messages or context."})]})}),e.jsxs(f,{children:[e.jsx(a,{variant:"secondary",onClick:n,disabled:o,children:"Cancel"}),e.jsx(a,{loading:o,variant:"tint",onClick:r,children:"Confirm switch"})]})]})});export{x as A}; 2//# sourceMappingURL=AgentSwitchDialog-BxRdzjme.js.map
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.