import{j as t}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab.js";import{u as o}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab47.js";import{x,u as g,ac as f,n as h}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab23.js";import{u as m}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab20.js";import{M as j}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab123.js";import{aw as y}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab11.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab8.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab7.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab19.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab4.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab3.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab2.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab10.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab6.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab9.js";const i=({id:a,name:n})=>{const{getMyAtendimento:r}=x(o(e=>({getMyAtendimento:e.getMyAtendimento}))),{setActiveTab:s,activeTab:c}=g(o(e=>({setActiveTab:e.setActiveTab,activeTab:e.activeTab}))),p=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:(c.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?p.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};
