module.exports=[193695,(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"))},988307,a=>{a.v("/_next/static/media/icon.02dme8a9q87z0.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},959152,a=>{"use strict";let b={src:a.i(988307).default,width:80,height:80};a.s(["default",0,b])},149739,a=>{a.v("/_next/static/media/favicon.0.i7.wl402-8~.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},276234,a=>{"use strict";let b={src:a.i(149739).default,width:160,height:160};a.s(["default",0,b])},61513,a=>{"use strict";var b=a.i(511366),c=a.i(45486),d=a.i(344072),e=a.i(542653),f=a.i(859749),g=a.i(107103),h=a.i(886637),i=a.i(935121),j=a.i(623064),k=a.i(289165),l=a.i(22689),m=a.i(215532),n=a.i(268792),o=a.i(307429),p=a.i(674230),q=a.i(329467),r=a.i(957883),s=a.i(351071);function t(a){return a in e.STATIC_LABELS?e.STATIC_LABELS[a]:void 0}async function u(a){let{tenantId:b,slug:d}=await a,e=[],u=`/${b}`,v="",w={projects:async a=>(v=a,(await (0,o.fetchProject)(b,a)).data.name),agents:async a=>(await (0,f.getFullAgent)(b,v,a)).data.name,artifacts:async a=>(await (0,g.fetchArtifactComponent)(b,v,a)).name,components:async a=>(await (0,i.fetchDataComponent)(b,v,a)).name,credentials:async a=>(await (0,h.fetchCredential)(b,v,a)).name,"external-agents":async a=>(await (0,m.fetchExternalAgent)(b,v,a)).name,"mcp-servers":async a=>(await (0,q.fetchMCPTool)(b,v,a)).name,async providers(a){for(let b of(await (0,r.fetchNangoProviders)()))if(encodeURIComponent(b.name)===a)return b.display_name},conversations:async()=>"Conversation Details",async jobs(a){let d=await (0,k.fetchEvaluationJobConfig)(b,v,a);return(0,c.getJobName)({tenantId:b,projectId:v,jobConfig:d})},"run-configs":async a=>(await (0,l.fetchEvaluationRunConfig)(b,v,a)).name,datasets:async a=>(await (0,j.fetchDataset)(b,v,a)).name||"Test Suite",runs:async a=>"Run",webhooks:async a=>(await (0,f.getFullAgent)(b,v,a)).data.name,"scheduled-triggers":async a=>(await (0,p.getScheduledTrigger)(b,v,d[3],a)).name,github:async a=>(await (0,n.fetchWorkAppGitHubInstallationDetail)(b,a)).installation.accountLogin};function x({segment:a,label:c}){u+=`/${a}`,new Set([`/${b}/projects/${v}/traces/conversations`,`/${b}/projects/${v}/evaluations/jobs`,`/${b}/projects/${v}/evaluations/run-configs`,`/${b}/projects/${v}/datasets/${d[3]}/runs`,`/${b}/projects/${v}/agents/${d[3]}/triggers/${d[5]}`,..."new"===d[3]?[]:[`/${b}/projects/${v}/skills/${d[3]}`],`/${b}/projects/${v}/triggers/webhooks`,`/${b}/projects/${v}/triggers/scheduled`]).has(u)||e.push({label:c,href:u})}for(let[a,b]of d.entries()){let c;try{let e=d[a-1];if("new"===b){let a=t(e);c=a?`New ${a.replace(/s$/,"")}`:"New"}else{let a=Object.hasOwn(w,e)?w[e]:void 0;if(!(c=a?await a(b):t(b)))continue}}catch(e){let a=(0,s.getErrorCode)(e),d=(0,s.getStatusCodeFromErrorCode)(a);x({segment:b,label:c=d?`${d} Error`:"Error"});break}x({segment:b,label:c})}return e}let v=async({params:a})=>(await u(a)).map(({label:a,href:c},e,f)=>(0,b.jsx)(d.BreadcrumbNav.Item,{href:c,isLast:e===f.length-1,separator:"›",children:a},c));async function w({params:a},b){let c=await b;if(!c.title?.template)return{};let d=(await u(a)).at(-1);return{title:d?.label}}a.s(["default",0,v,"generateMetadata",0,w])},501720,a=>{a.n(a.i(61513))}];

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