import{j as a,H as p,ae as o,ac as d,I as l}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080910.js";import{p as x}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080923.js";import{u}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080919.js";import{b as g}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080921.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080918.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508098.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508094.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508095.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508097.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508096.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508092.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508093.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508099.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080947.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};
