import{j as t,al as n,bH as p}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf10.js";import{A as d,p as x}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf23.js";import{u}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf19.js";import{c as f}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf74.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf18.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf6.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf8.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf4.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf5.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf7.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf9.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf2.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf3.js";function A({setChats:s,setActiveAgrupamento:i,agrupamentos:l}){const{variaveisWA:e}=d(),{language:r}=u(),{close:c}=x(),a=o=>{c(),o?(s(o.chats),i({name:o.name,color:o.color})):(s([]),i({name:"",color:""}))};return t.jsx("div",{style:{position:"initial"},children:t.jsx("ul",{className:"overflow-hidden flex "+e.modalOptions.content2,children:t.jsx("div",{className:e.modalOptions.content3,children:t.jsxs("div",{className:"max-w-[310px] overflow-x-hidden overflow-y-auto "+e.listagem.content1,style:{maxHeight:"calc(100vh - 370px)"},children:[t.jsx(n,{content:r.cancelar_selecao,icon:t.jsx(f,{className:"w-5 h-5 text-red-500"}),setFunction:()=>a(void 0),stroke:"1"}),l.map((o,m)=>t.jsx(n,{content:o.name,icon:t.jsx(p,{className:"w-5 h-5",style:{color:o.color}}),setFunction:()=>a(o),stroke:"1"},m))]})})})})}export{A as default};
