import{D as a,X as l}from"./index-BroSwtHE.js";import{a as r,j as i}from"./utils-DqYSJO9p.js";function u(s){const t=i(s);l.setItem(t)}function c(){const s=l.getItem(),t=r(s);return t===null?[]:t}const h=a("all_agents",{state:()=>({agents:[]}),actions:{getList(){if(this.agents.length===0){const t=c();return this.agents=t,this.agents}return this.agents},getInfo(s){if(!s)return null;const t=this.getList(),o=t.length;for(let e=0;e