import{k as h,r as a,d as i,h as u,j as s}from"./main-333.js";import{$ as g,h as j,g as k,d as p,B as b,E as w,s as v}from"./bi.636.93.js";import E from"./bi.27.259.js";import{W}from"./bi.740.766.js";import"./bi.429.767.js";function H({allIntegURL:r}){const{formID:n}=h(),[d,o]=a.useState({show:!1}),[m,c]=a.useState(!1),[t,f]=i(g),l=u(j),[e,x]=i(k);return s.jsxs("div",{style:{width:900},children:[s.jsx(p,{snack:d,setSnackbar:o}),t.triggered_entity!=="Webhook"?s.jsx(b,{setSnackbar:o}):s.jsx(w,{setSnackbar:o}),s.jsx("div",{className:"mt-3",children:s.jsx(E,{formID:n,formFields:l,webHooks:e,setWebHooks:x,setSnackbar:o})}),s.jsx(W,{edit:!0,saveConfig:()=>v({flow:t,setFlow:f,allIntegURL:r,conf:e,edit:1,setIsLoading:c,setSnackbar:o}),isLoading:m}),s.jsx("br",{})]})}export{H as default};
