import{b as n,$ as x,k as u,i as j,h as g,j as o}from"./main.2.8.1.js";import{h as k,d as a}from"./react-router-dom.9mCuUg3q.js";import{S as w}from"./SnackMsg.S8DrwLlT.js";import{S,s as b}from"./Integrations.D2bgBas2.js";import h from"./WebHooksIntegration.B7pcODxw.js";import{W as y}from"./WebHooksStepTwo.CLsJIPcj.js";import"./Note.BeM7sN-p.js";import"./CopyIcn.3gZpHton.js";import"./Table.DAL7rcPQ.js";import"./index.wO-AxluA.js";import"./BackIcn._kGL_vVw.js";function L({allIntegURL:i}){const{formID:r}=k(),[m,t]=a.useState({show:!1}),[c,d]=a.useState(!1),[s,f]=n(x),p=u(j),[e,l]=n(g);return o.jsxs("div",{style:{width:900},children:[o.jsx(w,{snack:m,setSnackbar:t}),o.jsx(S,{entity:s.triggered_entity,setSnackbar:t}),o.jsx("div",{className:"mt-3",children:o.jsx(h,{formID:r,formFields:p,webHooks:e,setWebHooks:l,setSnackbar:t})}),o.jsx(y,{edit:!0,saveConfig:()=>b({flow:s,setFlow:f,allIntegURL:i,conf:e,edit:1,setIsLoading:d,setSnackbar:t}),isLoading:c}),o.jsx("br",{})]})}export{L as default};
