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