import{j as e,r as i}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777.js";import{y as p,m as u,n as x}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277723.js";import{u as _,d as h}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277720.js";import{_ as g,A as j,X as r}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277711.js";import{u as f}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277746.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27778.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27777.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277719.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27774.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27773.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27772.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277710.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27776.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27779.js";const A=i.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777214.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};
