import{t as e}from"./jsx-runtime-B6e-FjZo.js";import{Ar as t,F as n,Ht as r,Sr as i,j as a,s as o}from"./app-figJB8d1.js";import{t as s}from"./agent-form-8MX5MtRP.js";var c=t(),l=e();function u(){let e=(0,c.c)(24),{t}=r(),u;e[0]===t?u=e[1]:(u=t(`Agents`),e[0]=t,e[1]=u);let d;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=n.url(),e[2]=d):d=e[2];let f;e[3]===u?f=e[4]:(f={title:u,href:d},e[3]=u,e[4]=f);let p;e[5]===t?p=e[6]:(p=t(`New`),e[5]=t,e[6]=p);let m;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(m=a.url(),e[7]=m):m=e[7];let h;e[8]===p?h=e[9]:(h={title:p,href:m},e[8]=p,e[9]=h);let g;e[10]!==f||e[11]!==h?(g=[f,h],e[10]=f,e[11]=h,e[12]=g):g=e[12];let _=g,v;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(i,{title:`New agent`}),e[13]=v):v=e[13];let y;e[14]===t?y=e[15]:(y=t(`Create agent`),e[14]=t,e[15]=y);let b;e[16]===y?b=e[17]:(b=(0,l.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:y}),e[16]=y,e[17]=b);let x;e[18]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,l.jsx)(s,{mode:`create`}),e[18]=x):x=e[18];let S;e[19]===b?S=e[20]:(S=(0,l.jsxs)(`div`,{className:`flex flex-1 flex-col gap-4 p-4`,children:[b,x]}),e[19]=b,e[20]=S);let C;return e[21]!==_||e[22]!==S?(C=(0,l.jsxs)(o,{breadcrumbs:_,children:[v,S]}),e[21]=_,e[22]=S,e[23]=C):C=e[23],C}export{u as default};