import{b as i,h as w,$ as g,k as u,i as h,j as o}from"./main.2.8.1.js";import{u as j,h as k,d as a}from"./react-router-dom.9mCuUg3q.js";import{S}from"./SnackMsg.S8DrwLlT.js";import{S as b,s as F}from"./Integrations.D2bgBas2.js";import v from"./WebHooksIntegration.B7pcODxw.js";import{W as _}from"./WebHooksStepTwo.CLsJIPcj.js";import"./Note.BeM7sN-p.js";import"./CopyIcn.3gZpHton.js";import"./Table.DAL7rcPQ.js";import"./index.wO-AxluA.js";import"./BackIcn._kGL_vVw.js";function A({allIntegURL:n}){const r=j(),{id:C,formID:m}=k(),[t,c]=i(w),[e,d]=i(g),f=u(h),[l,s]=a.useState({show:!1}),[p,x]=a.useState(!1);return o.jsxs("div",{style:{width:900},children:[o.jsx(S,{snack:l,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:n,conf:t,navigate:r,edit:1,setIsLoading:x,setSnackbar:s}),isLoading:p}),o.jsx("br",{})]})}export{A as default};
