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