import{d as _,e as p,m as o,n as a,A as s,u as t,z as n,F as f,Q as m,y as h}from"../../../../common/index.CPcBO1Os.js";import{a as u}from"../../../../common/index.B24w2ZeB.js";import{_ as v}from"../../../../common/_plugin-vue_export-helper.DlAUqK2U.js";const y=["id"],k={class:"ai-agent-box-header"},b=["src","alt"],w={class:"ai-agent-title-status"},A={class:"ai-agent-title"},B={class:"ai-agent-status"},H={class:"ai-agent-description"},E=["innerHTML"],T={key:1,class:"offline-desc"},D=_({__name:"OfflineAiAgentBox",props:{agent:{}},setup(O){const{__:i,sprintf:d}=window.wp.i18n,r=p(null),g=u(r);return(e,x)=>{var c,l;return a(),o("div",{id:"agent-".concat(e.agent.id),ref_key:"hoverEl",ref:r,class:"saai-offline-agent-box saai-agent-box"},[s("div",k,[s("img",{class:"ai-agent-logo",src:e.agent.icon,alt:t(d)(t(i)("%s logo","storeagent-ai-for-woocommerce"),e.agent.title)},null,8,b),s("div",w,[s("h3",A,n(e.agent.title),1),s("p",B,n(t(i)("Offline","storeagent-ai-for-woocommerce")),1)])]),s("p",H,[t(g)?(a(),o(f,{key:0},[(l=(c=e.agent)==null?void 0:c.offlineDescription)!=null&&l.trim()?(a(),o("div",{key:0,class:"offline-desc",innerHTML:t(m)(e.agent.offlineDescription)},null,8,E)):(a(),o("p",T,n(t(i)("This agent is currently not available for use.","storeagent-ai-for-woocommerce")),1))],64)):(a(),o(f,{key:1},[h(n(e.agent.description),1)],64))])],8,y)}}}),N=v(D,[["__scopeId","data-v-9ad54fbb"]]);export{N as default};
