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