import{G as s,g as S,r as a,j as e,S as g}from"./main-343.js";import"./bf-649-79.js";import k from"./bf-849-122.js";import"./bf-974-82.js";import"./bf-659-81.js";import"./bf-164-177.js";function _({formFields:x,setIntegration:h,integrations:j,allIntegURL:i}){const o=s();s();const{formID:r}=S(),[m,n]=a.useState(!1),[l,c]=a.useState(1),[u,t]=a.useState({show:!1}),d=[{key:"1",label:"Add/Update Subscriber"},{key:"2",label:"Delete Subscriber"}],b=[{key:"email",label:"Email",required:!0}],[p,f]=a.useState({name:"Acumbamail",type:"Acumbamail",mainAction:"",listId:"",auth_token:"",field_map:[{formField:"",acumbamailFormField:"email"}],addSubsCriberFields:b,allActions:d,address_field:[],actions:{}}),A=()=>{setTimeout(()=>{o(i)},1e3)};return e.jsxs("div",{children:[e.jsx(g,{snack:u,setSnackbar:t}),e.jsx(k,{formID:r,acumbamailConf:p,setAcumbamailConf:f,step:l,setstep:c,isLoading:m,setIsLoading:n,setSnackbar:t,authorizedAction:A})]})}export{_ as default};
