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