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