var g=Object.defineProperty;var n=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var c=(o,s,t)=>s in o?g(o,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[s]=t,p=(o,s)=>{for(var t in s||(s={}))j.call(s,t)&&c(o,t,s[t]);if(n)for(var t of n(s))v.call(s,t)&&c(o,t,s[t]);return o};import{r as a,aH as b,v as k,w as _,j as e,S as I}from"./main-40.js";import{b as S}from"./bf-132-75.js";import{W as h}from"./bf-679-136.js";/* empty css          */import"./bf-860-126.js";import"./bf-892-199.js";import"./bf-141-80.js";const w=a.lazy(()=>b(()=>import("./bf-627-203.js"),["./bf-627-203.js","./main-40.js","./main-40.css","./bf-586-70.js","./bf-141-80.js","./bf-149-418.css","./bf-249-417.css","./bf-476-127.js","./bf-791-423.css"],import.meta.url));function R({formFields:o,setIntegration:s,integrations:t,allIntegURL:d}){const u=k(),{id:r,formID:x}=_(),[i,f]=a.useState(p({},t[r])),[l,m]=a.useState({show:!1});return e.jsxs("div",{style:{width:900},children:[e.jsx(I,{snack:l,setSnackbar:m}),e.jsx("div",{className:"mt-3",children:e.jsx(w,{formID:x,formFields:o,webHooks:i,setWebHooks:f,setSnackbar:m})}),e.jsx(h,{edit:!0,saveConfig:()=>S(t,s,d,i,u,r,1)}),e.jsx("br",{})]})}export{R as default};
