import{u as p,k as u,r as a,d as n,h as j,j as s}from"./main-333.js";import{$ as k,h as w,g as b,d as h,i as v,s as y}from"./bi.636.93.js";import I from"./bi.27.259.js";import{W as S}from"./bi.740.766.js";import"./bi.429.767.js";function $({allIntegURL:i}){const r=p(),{id:_,formID:c}=u(),[d,l]=a.useState(!1),[e,m]=n(k),f=j(w),[o,g]=n(b),[x,t]=a.useState({show:!1});return s.jsxs("div",{style:{width:900},children:[s.jsx(h,{snack:x,setSnackbar:t}),s.jsx(v,{entity:e.triggered_entity,setSnackbar:t}),s.jsx("div",{className:"mt-3",children:s.jsx(I,{formID:c,formFields:f,webHooks:o,setWebHooks:g,setSnackbar:t})}),s.jsx(S,{edit:!0,saveConfig:()=>y({flow:e,setFlow:m,allIntegURL:i,conf:o,navigate:r,edit:1,setIsLoading:l,setSnackbar:t}),isLoading:d}),s.jsx("br",{})]})}export{$ as default};
