import{j as a,H as p,ae as o,ac as d,I as l}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b10.js";import{p as x}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b23.js";import{u}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b19.js";import{b as g}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b21.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b18.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b8.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b4.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b5.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b7.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b6.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b9.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b2.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b3.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b47.js";function H({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{H as default};
