import{j as t}from"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b764581.js";import{u as o}from"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b76458146.js";import{y as x,u as g,ak as f,n as h}from"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b76458123.js";import{u as m}from"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b76458120.js";import{M as j}from"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b764581122.js";import{av as y}from"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b76458111.js";import"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b7645818.js";import"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b7645817.js";import"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b76458119.js";import"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b7645814.js";import"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b7645813.js";import"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b7645812.js";import"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b76458110.js";import"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b7645816.js";import"./v_7_4_3_14_49a76bb0-8cf2-4908-a016-18478b7645819.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};
