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