import{j as e,r as i}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f.js";import{y as p,m as u,n as x}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f23.js";import{u as _,d as h}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f20.js";import{_ as g,u as j,H as r}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f11.js";import{u as f}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f46.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f8.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f7.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f19.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f4.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f3.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f2.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f10.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f6.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f9.js";const A=i.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f215.js")),[]));function v({atendente:s}){return e.jsx(i.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(A,{atendente:s})})}const I=({at:s})=>{const{atendente:o,getAtendimentoByDeviceID:t}=p(),{open:n}=u(),{close:a}=x(),{language:m}=_(),{icons_cor_primaria:l}=h(f(c=>({icons_cor_primaria:c.icons_cor_primaria}))),d=e.jsxs("div",{className:"flex flex-col px-2 py-1 cursor-pointer border border-solid border-base-200 rounded-xl hoverShadown",onClick:()=>{n(e.jsx(v,{atendente:s})),a()},children:[e.jsxs("span",{className:"flex gap-1 items-center",children:[e.jsx(j,{className:l?"text-[var(--primaria)]":""}),e.jsx(r,{size:"16",weight:"600",children:s.assinatura})]}),s.email.length>0&&e.jsxs("span",{children:["Email: ",e.jsx(r,{size:"14",weight:"500",children:s.email})]}),e.jsxs("span",{children:[m.atendimentosEmAndamento," ",e.jsx(r,{size:"14",weight:"500",children:t(s.user_id)})]})]});return o.user_id!==s.user_id&&d};export{I as default};
