import{j as e,_ as c,o as p,D as t}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e10.js";import{L as x,n as u,o as h}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e22.js";import{a as j,u as f}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e19.js";import{a as r}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e4.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e18.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e8.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e5.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e7.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e6.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e2.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e3.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e9.js";const g=r.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e217.js")),[]));function _({atendente:s}){return e.jsx(r.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(g,{atendente:s})})}const O=({at:s})=>{const{atendente:i,getAtendimentoByDeviceID:o}=x(),{label:n}=j(),{open:a}=u(),{close:l}=h(),{language:m}=f(),d=e.jsxs("div",{className:"flex flex-col px-2 py-1 cursor-pointer border border-solid border-base-200 rounded-xl hoverShadown",onClick:()=>{a(e.jsx(_,{atendente:s})),l()},children:[e.jsxs("span",{className:"flex gap-1 items-center",children:[e.jsx(p,{className:n.cor_primaria?"text-[var(--primaria)]":""}),e.jsx(t,{size:"16",weight:"600",children:s.assinatura})]}),s.email.length>0&&e.jsxs("span",{children:["Email: ",e.jsx(t,{size:"14",weight:"500",children:s.email})]}),e.jsxs("span",{children:[m.atendimentosEmAndamento," ",e.jsx(t,{size:"14",weight:"500",children:o(s.deviceID)})]})]});return i.id!==s.id&&d};export{O as default};
