import{j as e}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89263.js";import{ac as p,r as d}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892625.js";import{u as x}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89264.js";import{ap as n,bZ as u}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89268.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89262.js";import{c as f}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926122.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89265.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89266.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89269.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892610.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89267.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892620.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};
