import{aa as a,r as s}from"./index-207e8178.js";const t=a("compareProgramsStore",{state:()=>({query:s({programs:[]})}),getters:{programIds(r){return r.query.programs.map(e=>e.internal_id)}},actions:{addProgram(r){this.query.programs.push(r)},removeProgram(r){this.query.programs=this.query.programs.filter(e=>e.internal_id!==r)},isComparing(r){return this.programIds.includes(r)}}});export{t as u};