import{D as f,g as l,r as o,a as b,j as t,S as g}from"./main-634.js";import"./bf-25-81.js";import{ah as S}from"./bf-746-82.js";import"./bf-275-83.js";import"./bf-822-108.js";function L({formFields:D,setIntegration:h,integrations:j,allIntegURL:s}){const e=f(),{formID:a}=l(),[r,i]=o.useState(!1),[n,p]=o.useState(1),[c,m]=o.useState({show:!1});b();const[d,u]=o.useState({name:"Dropbox Integration",type:"Dropbox",apiKey:"",apiSecret:"",accessCode:"",field_map:[{formField:"",dropboxFormField:""}],foldersList:[],actions:{}}),x=()=>{setTimeout(()=>{e(s)},1e3)};return t.jsxs("div",{children:[t.jsx(g,{snack:c,setSnackbar:m}),t.jsx(S,{formID:a,dropboxConf:d,setDropboxConf:u,step:n,setStep:p,isLoading:r,setIsLoading:i,authorizedAction:x})]})}export{L as default};
