import{h as i,$ as x,k as u,i as g,g as j,j as o}from"./main.2.8.10.js";import{e as h,b as r}from"./react-router.DMwpH23k.js";import{S as k}from"./SnackMsg.7BjcJK1j.js";import{S as w,s as S}from"./Integrations.BFhED4ck.js";import b from"./WebHooksIntegration.CoprJ8QL.js";import{W as v}from"./WebHooksStepTwo.BQfnOc8x.js";import"./react-vendor.P7K3d6op.js";import"./Note.DalStCGz.js";import"./CopyIcn.BnhKHfEP.js";import"./Table.DSsAy4VI.js";import"./index.DpWdl9V1.js";import"./BackIcn.BFDZx8No.js";import"./TutorialLink.D6K_DiHL.js";function D({allIntegURL:a}){const{formID:n}=h(),[m,t]=r.useState({show:!1}),[c,f]=r.useState(!1),[s,p]=i(x),d=u(g),[e,l]=i(j);return o.jsxs("div",{style:{width:900},children:[o.jsx(k,{snack:m,setSnackbar:t}),o.jsx(w,{entity:s.triggered_entity,setSnackbar:t}),o.jsx("div",{className:"mt-3",children:o.jsx(b,{formID:n,formFields:d,webHooks:e,setWebHooks:l,setSnackbar:t})}),o.jsx(v,{edit:!0,saveConfig:()=>S({flow:s,setFlow:p,allIntegURL:a,conf:e,edit:1,setIsLoading:f,setSnackbar:t}),isLoading:c}),o.jsx("br",{})]})}export{D as default};
