import{j as a,D as p,ad as o,ab as d,I as l}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e10.js";import{o as x}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e22.js";import{u}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e19.js";import{a as g}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e21.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e18.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e8.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e4.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e5.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e7.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e6.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e2.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e3.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e9.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e46.js";function D({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=>{d(s),l({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{D as default};
