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