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