import{h as i,g,$ as w,k as u,i as j,j as o}from"./main.2.9.0.js";import{u as h,e as k,b as a}from"./react-router.DMwpH23k.js";import{S}from"./SnackMsg.DYSD96P4.js";import{S as b,s as F}from"./Integrations.DL8wqGct.js";import v from"./WebHooksIntegration.CesI9y9U.js";import{W as _}from"./WebHooksStepTwo.C9DaqOtP.js";import"./react-vendor.P7K3d6op.js";import"./Note.NSUdvR3c.js";import"./CopyIcn.CEA_lFLo.js";import"./Table.BfF8RYFZ.js";import"./index.DpWdl9V1.js";import"./BackIcn._8Wofmn2.js";import"./TutorialLink.CFG7bS5c.js";function M({allIntegURL:r}){const n=h(),{id:C,formID:m}=k(),[t,c]=i(g),[e,d]=i(w),f=u(j),[p,s]=a.useState({show:!1}),[l,x]=a.useState(!1);return o.jsxs("div",{style:{width:900},children:[o.jsx(S,{snack:p,setSnackbar:s}),o.jsx(b,{entity:e.triggered_entity,setSnackbar:s}),o.jsx("div",{className:"mt-3",children:o.jsx(v,{formID:m,formFields:f,webHooks:t,setWebHooks:c,setSnackbar:s})}),o.jsx(_,{edit:!0,saveConfig:()=>F({flow:e,setFlow:d,allIntegURL:r,conf:t,navigate:n,edit:1,setIsLoading:x,setSnackbar:s}),isLoading:l}),o.jsx("br",{})]})}export{M as default};
