import{h as r,$ as g,g as u,k as h,i as j,j as t,_ as m}from"./main.2.8.10.js";import{u as b,b as d}from"./react-router.DMwpH23k.js";import"./Note.DalStCGz.js";import"./CopyIcn.BnhKHfEP.js";import{S as y,I as C,s as w}from"./Integrations.BFhED4ck.js";import{h as I,A as _}from"./AcademyLmsIntegLayout.CYKwK9J-.js";import"./react-vendor.P7K3d6op.js";import"./SnackMsg.7BjcJK1j.js";import"./Table.DSsAy4VI.js";import"./index.DpWdl9V1.js";function q({allIntegURL:c}){const l=b(),[a,v]=r(g),[e,s]=r(u),[n,o]=d.useState(!1),[L,i]=d.useState({show:!1}),f=h(j),p=()=>{w({flow:a,allIntegURL:c,conf:e,navigate:l,edit:1,setIsLoading:o,setSnackbar:i})};return t.jsxs("div",{style:{width:900},children:[t.jsxs("div",{className:"flx mt-3",children:[t.jsx("b",{className:"wdt-200 d-in-b",children:m("Integration Name:","bit-integrations")}),t.jsx("input",{className:"btcd-paper-inp w-5",onChange:x=>I(x,e,s),name:"name",value:e.name,type:"text",placeholder:m("Integration Name...","bit-integrations")})]}),t.jsx("br",{}),t.jsx(y,{entity:a.triggered_entity,setSnackbar:i}),t.jsx(_,{academyLmsConf:e,setAcademyLmsConf:s,isLoading:n,setIsLoading:o}),t.jsx(C,{edit:!0,saveConfig:p,disabled:!1,isLoading:n,dataConf:e,setDataConf:s,formFields:f}),t.jsx("br",{})]})}export{q as default};
