import{R as l,o as d,p as m,t as u,j as t,q as r,aG as x,E as g}from"./app-BgLa5dit.js";function p(e){var n;const[o,a]=l.useState(e.initialField),i=d(m.getTopic(e.id)),{formComponent:c,next:s}=u[e.stage].forms[o];return t.jsx(r,{subStage:e.stage,pipelineId:e.pipelineId,children:t.jsx(x.Provider,{value:!!s,children:t.jsx(g,{title:(n=i.data)==null?void 0:n.name,closePopup:e.closePopup,backdrop:"static",showLoadingSpinner:!i.hasCompleted,children:t.jsx(c,{id:e.id,onNext:()=>a(s),closePopup:e.closePopup,stage:e.stage,theme:e.theme})})})})}export{p as EditTopicContainerView};
//# sourceMappingURL=CX3cZRaW.chunk.js.map
