import{j as t}from"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b.js";import{u as o}from"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b62.js";import{C as x,b as g,A as f,q as h}from"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b24.js";import{u as m}from"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b20.js";import{M as j}from"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b120.js";import{an as y}from"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b11.js";import"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b7.js";import"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b9.js";import"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b6.js";import"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b8.js";import"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b19.js";import"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b4.js";import"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b3.js";import"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b2.js";import"./v_7_4_2_25_48461181-0d14-4d2a-b9c3-5de50369a90b10.js";const i=({id:a,name:n})=>{const{getMyAtendimento:r}=x(o(e=>({getMyAtendimento:e.getMyAtendimento}))),{setActiveTab:s,activeTab:p}=g(o(e=>({setActiveTab:e.setActiveTab,activeTab:e.activeTab}))),c=m(e=>e.language),l=f(e=>e.variaveisWA),d=h(e=>e.open),u=(e,b,v)=>{d(t.jsx(j,{id:b,aba_System:!0,type:"tab",name:v,color:"var(--primaria)"}),{placement:"bottom"},e,10)};return t.jsx("button",{onClick:()=>s({id:a,type:"tab"}),className:(p.id!==a?"":"!bg-[var(--primaria)] ")+"xjb2p0i x1ypdohk x972fbf x10w94by x1qhh985 x14e42zd x1yrsyyn x10b6aqq x1g0dm76 xpdmqnj xtf1z3e x18i4vdl x17ka9pb xaozknv x6prxxf xo1l8bm x1btupbp xhslqc4 x1280gxy x1hdfv4t xtnn1bt x9v5kkp xmw7ebm xrdum7p x1ubxc9n !border-[var(--secundaria)]",children:t.jsxs("div",{className:"x1c4vz4f xs83m0k xdl72j9 x1g77sc7 x78zum5 xozqiw3 x1oa3qoh x12fk4p8 xfex06f xeuugli x2lwn1j x1nhvcw1 x1q0g3np x6s0dn4 group",children:[t.jsx("div",{children:a===5?c.tab_atendentes:n}),a===5&&t.jsxs("div",{className:"inline text-sm text-base-content/60 font-semibold",children:[" ",r().length]}),t.jsx("span",{className:l.modalOptions.animChildren+"hidden group-hover:block pulse p-[1.5px]",onClick:e=>u(e.currentTarget.parentElement,a,n),children:t.jsx(y,{size:20})})]})})};function L(){const{active:a}=x(o(s=>({active:s.active}))),n=m(s=>s.language);return t.jsxs("div",{className:"flex gap-2",children:[t.jsx(i,{id:4,name:"1:1"}),a&&t.jsxs(t.Fragment,{children:[t.jsx(i,{id:6,name:n.transferidos}),t.jsx(i,{id:5,name:n.tab_atendentes})]})]})}export{L as default};
