import{g}from"./list.5526c7ef.js";import{a6 as l,r as s}from"./index.0308b213.js";function A(){const{OpPlatform:i}=l();let t=s([]);return{allAgentList:t,getAgentList:()=>{i.value==="shangpu"&&g().then(e=>{t.value=e.list})},getAgentTitle:e=>{if(t.value.length>0){const n=t.value.find(r=>r.id==e);if(n)return n.title}return"\u672A\u77E5"}}}export{A as u};
