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