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