import{j as r,ak as i,Z as s}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf10.js";import{y as c,G as d}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf23.js";import{u as l}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf19.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf18.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf6.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf8.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf4.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf5.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf7.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf9.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf2.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf3.js";function k(){const{activeChat:o}=c(),{getMonitor:t,stopSendAction:n}=d(),{language:a}=l();return r.jsx("div",{className:"animate__animated animate__fadeInDown bg-[var(--drawer-section-background)] p-2 px-3 z-10 relative mb-1 min-h-10 m-auto",style:{boxShadow:"0 1px 6px rgba(var(--shadow-rgb), .1)"},children:r.jsx("div",{className:"flex flex-col gap-4 max-h-[130px] overflow-y-auto",children:o&&t(o.id._serialized).map(e=>r.jsxs("div",{className:"flex gap-2 items-center",children:[e.actionsTam>1&&(e.sendAction==="Actived"?r.jsx("div",{className:`
                                            box-border scrollbar-thin scrollbar-track-transparent scrollbar-thumb-[rgba(var(--black-rgb),0.2)]
                                            font-variation-settings-inherit tracking-inherit uppercase-none appearance-none
                                            m-0 cursor-pointer bg-none outline-none text-sm outline-offset-2 
                                            relative inline-block font-medium whitespace-nowrap leading-[1.1429]
                                            transition-all duration-[180ms] ease-out
                                            px-3 py-[4px] rounded-[24px] border border-solid
                                            border-l-[var(--button-secondary-border)] border-r-[var(--button-secondary-border)]
                                            border-t-[var(--button-secondary-border)] border-b-[var(--button-secondary-border)]
                                            bg-[var(--button-secondary-background)] text-[var(--button-secondary-destructive-color)]
                                            font-['Segoe_UI','Helvetica_Neue','Helvetica','Lucida_Grande',Arial,'Ubuntu','Cantarell','Fira_Sans',sans-serif]
                                            hover:shadow-[0_2px_7px_rgba(var(--shadow-rgb),0.09),0_1px_2px_rgba(var(--shadow-rgb),0.05)]
                                            hover:text-[var(--button-secondary-destructive-hover-color)]
                                        `,role:"button",onClick:()=>n(e.id),children:a.cancelar_envio}):r.jsx("div",{className:"flex gap-1",children:r.jsx("span",{className:"loading loading-spinner loading-sm text-[var(--primaria)]"})})),r.jsx(i,{type:e.activeAction.type,style:"w-5 h-5 text-[var(--primaria)]"}),r.jsxs(s,{weight:"600",children:[e.remetente==="useAcaoEnvioEmMassa"?a.envioMassa:a[e.remetente],r.jsxs("i",{children:[" (",e.actionIndice,"/",e.actionsTam,")"]})]})]},e.id))})})}export{k as default};
