import{j as t,aJ as m,ar as c}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec510.js";import{ag as u,q as h,A as f,o as v,ad as b,a6 as j,p as y,aA as g,aB as z}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec523.js";import{u as k}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec519.js";import{V as A}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec5149.js";import{b as N}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec538.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec518.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec56.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec58.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec54.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec5.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec55.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec57.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec59.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec52.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec53.js";function J(){const{chatActive_atentendes:i}=u(),{label:a}=h(),{variaveisWA:w}=f(),{language:s}=k(),{open:r}=v(),{assinatura:o,insertName:x}=b(),{assistente:n,setAssistente:l}=j(),{open:d}=y(),p=[{id:1,tooltip:s.menuFooter_Ass,children:t.jsx(m,{className:o.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:20}),func:()=>r(t.jsx(g,{}))},{id:2,tooltip:s.assistenteDeChat,children:t.jsx(z,{className:n.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:22}),func:()=>l("active",!n.active)},{id:3,tooltip:s.menuFooter_colarNome,children:t.jsx(N,{className:a.cor_primaria?"text-[var(--primaria)]":"",strokeWidth:1,size:22}),func:()=>x()},{id:4,tooltip:s.atendentesNesseChat,children:t.jsxs("div",{className:"text-[var(--button-round-background)] flex gap-1",children:[t.jsx("span",{children:t.jsx(c,{size:20})}),t.jsx("span",{className:"font-semibold text-lg !leading-[21px]",children:i.length})]}),func:e=>d(t.jsx(A,{}),{placement:"top"},e.target),disabled:i.length<=1}].map(e=>!(e!=null&&e.disabled)&&t.jsx("div",{className:"x100vrsf x1vqgdyp x78zum5 x6s0dn4 xpvyfi4 lg:tooltip","data-tip":e.tooltip,children:t.jsx("button",{onClick:e.func,className:"xjb2p0i xk390pu x1ypdohk xjbqb8w x972fbf x10w94by x1qhh985 x14e42zd x78zum5 xh8yej3 x5yr21d x6s0dn4 xl56j7k x1c9tyrk xeusxvb x1pahc9y x1ertn4p xlkovuz xzwifym x16j0l1c x1y1aw1k xf159sx xwib8y2 xmzvs34 x1ry1tff xtnn1bt x9v5kkp xmw7ebm xrdum7p","data-tab":"10",type:"button",children:t.jsx("span",{"aria-hidden":"true",children:e.children})})},e.id));return t.jsx("div",{className:"flex self-end",children:p})}export{J as default};
