System.register(["../../../../common/index-legacy.sLMPZLm9.js","../../../../common/index-legacy.Bk-po7Kp.js","../../../../common/_plugin-vue_export-helper-legacy.DgAO6S8O.js"],(function(e,a){"use strict";var t,n,o,i,s,l,r,c,f,d,g,u;return{setters:[e=>{t=e.d,n=e.e,o=e.m,i=e.n,s=e.A,l=e.u,r=e.z,c=e.F,f=e.Q,d=e.y},e=>{g=e.a},e=>{u=e._}],execute:function(){var a=document.createElement("style");a.textContent=".saai-offline-agent-box[data-v-9ad54fbb]{background-color:#f5f5f5;cursor:pointer;opacity:.7}.saai-offline-agent-box[data-v-9ad54fbb]:hover{opacity:1}.saai-offline-agent-box .ai-agent-status[data-v-9ad54fbb]{color:#d63638}.saai-offline-agent-box .offline-desc[data-v-9ad54fbb]{color:#d63638;font-size:.875em;font-style:italic}\n/*$vite$:1*/",document.head.appendChild(a);const m=["id"],p={class:"ai-agent-box-header"},b=["src","alt"],v={class:"ai-agent-title-status"},y={class:"ai-agent-title"},x={class:"ai-agent-status"},_={class:"ai-agent-description"},h=["innerHTML"],k={key:1,class:"offline-desc"};e("default",u(t({__name:"OfflineAiAgentBox",props:{agent:{}},setup(e){const{__:a,sprintf:t}=window.wp.i18n,u=n(null),w=g(u);return(e,n)=>{var g;return i(),o("div",{id:`agent-${e.agent.id}`,ref_key:"hoverEl",ref:u,class:"saai-offline-agent-box saai-agent-box"},[s("div",p,[s("img",{class:"ai-agent-logo",src:e.agent.icon,alt:l(t)(l(a)("%s logo","storeagent-ai-for-woocommerce"),e.agent.title)},null,8,b),s("div",v,[s("h3",y,r(e.agent.title),1),s("p",x,r(l(a)("Offline","storeagent-ai-for-woocommerce")),1)])]),s("p",_,[l(w)?(i(),o(c,{key:0},[null!==(g=e.agent)&&void 0!==g&&null!==(g=g.offlineDescription)&&void 0!==g&&g.trim()?(i(),o("div",{key:0,class:"offline-desc",innerHTML:l(f)(e.agent.offlineDescription)},null,8,h)):(i(),o("p",k,r(l(a)("This agent is currently not available for use.","storeagent-ai-for-woocommerce")),1))],64)):(i(),o(c,{key:1},[d(r(e.agent.description),1)],64))])],8,m)}}}),[["__scopeId","data-v-9ad54fbb"]]))}}}));
