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