import{j as a,Z as p,al as o,aj as l,I as d}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf10.js";import{p as x}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf23.js";import{u}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf19.js";import{u as g}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf107.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";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf126.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf28.js";function O({acaoModel:i}){const{close:r}=x(),{getVariaveis:n}=g(),{language:e}=u(),c=["#nome","#primeiroNome","#numero","#periodo-dia","#saudação","#mencionar-todos"],m=["#sexo","#data_nascimento","#idioma","#email","#cidade","#estado","#origem","#data_entrada","#data_saida","#valor_negocio","#empresa","#cargo","#produtos_de_interesse","#observações"],t=s=>{l(s),d({type:"Success",message:`${e.tag} ${s} ${e.Copiada}`,position:"top-right"}),r()};return a.jsxs("div",{className:"px-3",children:[a.jsx(p,{weight:"700",children:e.tagsDisponiveis}),a.jsx("hr",{className:"mt-1"}),a.jsxs("div",{className:"flex gap-4 mt-2",children:[a.jsx("div",{children:a.jsx("ul",{className:"mt-3 p-[1px]",children:c.map(s=>a.jsx(o,{className:"text-base truncate !w-[200px]",content:s,icon:a.jsx(a.Fragment,{}),setFunction:()=>t(s)}))})}),i==="useAcaoEnvioEmMassa"&&a.jsxs("div",{children:[a.jsx("div",{className:"badge badge-warning text-[var(--letra)]",children:e.envioMassa}),a.jsx("ul",{className:"mt-3 overflow-y-auto overflow-x-hidden p-[1px]",style:{maxHeight:"calc(100vh - 282px)"},children:n().map(s=>a.jsx(o,{className:"text-base truncate !w-[200px]",content:"#"+s,icon:a.jsx(a.Fragment,{}),setFunction:()=>t("#"+s)}))})]}),a.jsxs("div",{children:[a.jsx("div",{className:"badge badge-accent text-[var(--letra)]",children:e.profileContact}),a.jsx("ul",{className:"mt-3 p-[1px]",children:m.map(s=>a.jsx(o,{className:"text-base truncate !w-[200px]",content:s,icon:a.jsx(a.Fragment,{}),setFunction:()=>t(s)}))})]})]})]})}export{O as default};
