import{j as e}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a53.js";import{ac as p,r as d}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a525.js";import{u as x}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a54.js";import{ap as n,bZ as u}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a58.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a52.js";import{c as f}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5122.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a55.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a56.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a59.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a510.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a57.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a520.js";function C({setChats:t,setActiveAgrupamento:i,agrupamentos:r}){const{variaveisWA:s}=p(),{language:l}=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:l.cancelar_selecao,icon:e.jsx(f,{className:"w-5 h-5 text-red-500"}),setFunction:()=>a(void 0),stroke:"1"}),r.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};
