1import{E as A}from"./el-empty-BBH6eZMj.js";import{d as f,u as g,eF as d,eG as h,bf as k,aG as v,c as n,w as C,c1 as E,h as l,m as c,f as o,b as M,F as B,aq as $,o as e,_ as w}from"./index-b-mPGCkW.js";import{M as F}from"./MineAgentCard-38dYwYsF.js";import{A as G}from"./AgentSkeleton-D1KEDb-U.js";import"./pen-line-_FQ96vqx.js";const S=f({__name:"CustomAgents",setup(x){const{t:u}=g(),{getAgentAuthority:m}=d(),i=h(),{clientAgents:y}=k(i),s=c(()=>{var t;return(t=y.value)==null?void 0:t.filter(a=>!a.isThirdParty)}),p=c(()=>Array.isArray(s.value)&&s.value.length===0);return v(async()=>{await m()}),(t,a)=>{const _=A;return e(),n(E,{name:"fade",mode:"out-in"},{default:C(()=>[p.value?(e(),n(_,{key:0,"image-size":130,description:M(u)("agent.custom.emptyState"),class:o(t.$style.empty)},null,8,["description","class"])):s.value?(e(),l("div",{key:1,class:o(t.$style._)},[(e(!0),l(B,null,$(s.value,r=>(e(),n(F,{key:r.key,item:r},null,8,["item"]))),128))],2)):(e(),n(G,{key:2,class:o(t.$style._),count:4},null,8,["class"]))]),_:1})}}}),T="customAgents__",b="customAgents_empty",z={_:T,empty:b},q={$style:z},D=w(S,[["__cssModules",q]]);export{D 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.