import{j as e}from"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc35.js";import{ac as p,n as d}from"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc323.js";import{u as x}from"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc34.js";import{af as n,bO as u}from"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc37.js";import"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc3.js";import{c as f}from"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc3107.js";import"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc33.js";import"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc32.js";import"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc39.js";import"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc310.js";import"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc320.js";import"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc38.js";import"./v_7_4_3_31_3bb7ccc9-19a6-4120-bc11-61c531f17fc36.js";function C({setChats:t,setActiveAgrupamento:i,agrupamentos:l}){const{variaveisWA:s}=p(),{language:r}=x(),{close:c}=d(),a=o=>{c(),o?(t(o.chats),i({name:o.name,color:o.color})):(t([]),i({name:"",color:""}))};return e.jsx("div",{style:{position:"initial"},children:e.jsx("ul",{className:"overflow-hidden flex "+s.modalOptions.content2,children:e.jsx("div",{className:s.modalOptions.content3,children:e.jsxs("div",{className:"max-w-[310px] overflow-x-hidden overflow-y-auto "+s.listagem.content1,style:{maxHeight:"calc(100vh - 370px)"},children:[e.jsx(n,{content:r.cancelar_selecao,icon:e.jsx(f,{className:"w-5 h-5 text-red-500"}),setFunction:()=>a(void 0),stroke:"1"}),l.map((o,m)=>e.jsx(n,{content:o.name,icon:e.jsx(u,{className:"w-5 h-5",style:{color:o.color}}),setFunction:()=>a(o),stroke:"1"},m))]})})})})}export{C as default};
