var h=Object.defineProperty;var n=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var m=(t,o,s)=>o in t?h(t,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[o]=s,c=(t,o)=>{for(var s in o||(o={}))j.call(o,s)&&m(t,s,o[s]);if(n)for(var s of n(o))k.call(o,s)&&m(t,s,o[s]);return t};import{G as w,g as b,r as d,j as e,S}from"./main-343.js";import{ad as g,a7 as v}from"./bf-659-81.js";import H from"./bf-526-116.js";import"./bf-974-82.js";import"./bf-649-79.js";function N({formFields:t,setIntegration:o,integrations:s,allIntegURL:u}){const x=w(),{id:a,formID:f}=b(),[r,l]=d.useState(c({},s[a])),[p,i]=d.useState({show:!1});return e.jsxs("div",{style:{width:900},children:[e.jsx(S,{snack:p,setSnackbar:i}),e.jsx("div",{className:"mt-3",children:e.jsx(H,{formID:f,formFields:t,webHooks:r,setWebHooks:l,setSnackbar:i})}),e.jsx(g,{edit:!0,saveConfig:()=>v(s,o,u,r,x,a,1)}),e.jsx("br",{})]})}export{N as default};
