import{D as s,g as S,r as a,j as e,S as g}from"./main-634.js";import"./bf-25-81.js";import k from"./bf-118-123.js";import"./bf-275-83.js";import"./bf-746-82.js";import"./bf-822-108.js";import"./bf-709-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};
