import{j as e,_ as x,a1 as p,a4 as f,au as j}from"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd94578110.js";import{C as u,A as h,s as g,p as v,q as A,aC as y}from"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd94578123.js";import{u as N}from"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd94578119.js";import{a as r}from"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457814.js";import{A as _}from"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd945781182.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd94578118.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457816.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457818.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd945781.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457815.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457817.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457819.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457812.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457813.js";const z=r.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd945781181.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}=u(),{variaveisWA:t}=h(),{label:c}=g(),{open:n}=v(),{close:i}=A(),{language:a}=N(),m=()=>{n(e.jsx(y,{})),i()},l=()=>{n(e.jsx(E,{})),i()};return e.jsxs("div",{className:"flex flex-col gap-2 px-2",children:[e.jsx(p,{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(f,{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(j,{className:c.cor_primaria?"text-[var(--primaria)]":"",size:20})}),e.jsx("span",{className:t.listagem.content5,children:a.editarMensagemDeTransferencia})]})})})]})}export{W as default};
