import{G as d,g as f,r as e,a as h,j as t}from"./main-343.js";import"./bf-649-79.js";import{c as S}from"./bf-204-199.js";import g from"./bf-579-115.js";import"./bf-974-82.js";import"./bf-659-81.js";import"./bf-997-171.js";function F({formFields:x,setConnectedApps:G,connectedApps:j,allIntegURL:s}){const o=d(),{formID:a}=f(),[n,i]=e.useState(!1),[r,c]=e.useState(1);h();const[w,p]=e.useState({show:!1}),[m,u]=e.useState({name:"Google Sheet Authorization",type:"Google Sheet",clientId:"",clientSecret:"",actions:{}}),l=()=>{setTimeout(()=>{o(s)},1e3)};return e.useEffect(()=>{window.opener&&S("googleSheet")},[]),t.jsxs("div",{children:[t.jsx("div",{className:"txt-center w-9 mt-2 cal-width"}),t.jsx(g,{formID:a,allIntegURL:s,sheetConf:m,setSheetConf:u,step:r,setstep:c,setSnackbar:p,isLoading:n,setisLoading:i,authorizedAction:l})]})}export{F as default};
