import{j as e,r}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71.js";import{C as x,A as p,s as f,p as j,q as u,aI as h}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7124.js";import{u as g}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7120.js";import{_ as v,$ as A,a2 as y,ar as N}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7111.js";import{A as _}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71184.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a717.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a719.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a716.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a718.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7119.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a714.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a713.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a712.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7110.js";const z=r.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71183.js")),[]));function E(){return e.jsx(r.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(z,{})})}function W(){const{active:o,multi_atendente:s}=x(),{variaveisWA:t}=p(),{label:c}=f(),{open:n}=j(),{close:i}=u(),{language:a}=g(),m=()=>{n(e.jsx(h,{})),i()},l=()=>{n(e.jsx(E,{})),i()};return e.jsxs("div",{className:"flex flex-col gap-2 px-2",children:[e.jsx(A,{size:"18",weight:"600",children:a.transferirAtendimento}),o?e.jsx(e.Fragment,{children:s.length>1?s.map(d=>e.jsx(_,{at:d})):e.jsx("div",{className:"x1f6kntn x1fc57z9 x40yjcy flex flex-col gap-2 items-center",children:e.jsx("span",{dir:"auto",className:"_ao3e font-bold",children:a.nenhumAtendenteConectado})})}):e.jsxs("div",{className:"x1f6kntn x1fc57z9 x40yjcy flex flex-col  gap-2",children:[e.jsx("span",{dir:"auto",className:"_ao3e font-bold",children:a.ativeOIdentificadorAntendente}),e.jsx(y,{name:a.activate,funcao:m})]}),e.jsx("div",{className:"xjm9jq1 xfw0ycb x7r5mf7 x12nagc"}),e.jsx("div",{className:t.listagem.content1+"hoverShadown !ml-0",children:e.jsx("li",{tabIndex:0,className:t.listagem.content2+"!opacity-100","data-animate-dropdown-item":"true",children:e.jsxs("div",{className:t.listagem.content3,onClick:l,children:[e.jsx("div",{className:t.listagem.content4,children:e.jsx(N,{className:c.cor_primaria?"text-[var(--primaria)]":"",size:20})}),e.jsx("span",{className:t.listagem.content5,children:a.editarMensagemDeTransferencia})]})})})]})}export{W as default};
