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