import{j as a}from"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b0286.js";import{q as c,G as n}from"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b02821.js";import{u as d}from"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b0285.js";import{ae as l,b as p}from"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b0288.js";import"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b0282.js";import{u as b}from"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b02857.js";import"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b0284.js";import"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b0283.js";import"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b02820.js";import"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b028.js";import"./v_7_4_3_48_026858c9-0735-4edd-ae06-f5f59030b0287.js";function k(){const r=d(e=>e.language),o=c(e=>e.activeChat)?.id?._serialized,t=n(b(e=>o?e.monitors.filter(s=>s.userID===o):[])),i=n(e=>e.stopSendAction);return!o||!t?null:a.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:a.jsx("div",{className:"flex flex-col gap-4 max-h-[130px] overflow-y-auto",children:t.map(e=>a.jsxs("div",{className:"flex gap-2 items-center",children:[e.actionsTam>1&&(e.sendAction==="Actived"?a.jsx("div",{role:"button",onClick:()=>i(e.id),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)]`,children:r.cancelar_envio}):a.jsx("div",{className:"flex gap-1",children:a.jsx("span",{className:"loading loading-spinner loading-sm text-[var(--primaria)]"})})),a.jsx(l,{type:e.activeAction.type,style:"w-5 h-5 text-[var(--primaria)]"}),a.jsxs(p,{weight:"600",children:[e.remetente==="useAcaoEnvioEmMassa"?r.envioMassa:r[e.remetente],a.jsxs("i",{children:[" (",e.actionIndice,"/",e.actionsTam,")"]})]})]},e.id))})})}export{k as default};
