import{h as i,$ as x,k as w,i as g,g as j,j as t}from"./main.2.8.10.js";import{e as k,b as r}from"./react-router.DMwpH23k.js";import{S as u}from"./SnackMsg.7BjcJK1j.js";import{S,s as b}from"./Integrations.BFhED4ck.js";import F from"./WebHooksIntegration.CoprJ8QL.js";import{W as h}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}=k(),[m,o]=r.useState({show:!1}),[c,f]=r.useState(!1),[s,p]=i(x),d=w(g),[e,l]=i(j);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(F,{formID:n,formFields:d,webHooks:e,setWebHooks:l,setSnackbar:o})}),t.jsx(h,{edit:!0,saveConfig:()=>b({flow:s,setFlow:p,allIntegURL:a,conf:e,edit:1,setIsLoading:f,setSnackbar:o}),isLoading:c}),t.jsx("br",{})]})}export{D as default};
