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