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