decocms
Version:
Deco CMS — Self-hostable MCP Gateway for managing AI connections and tools
2 lines (1 loc) • 563 B
JavaScript
import{c as m,j as r,ba as f,k as x}from"./index-DoEtSiIe.js";import{C as p}from"./capability-load-error-C6JoLBp9.js";function d(i){const e=m.c(6),{granted:n,loading:l,error:c,area:o,children:a}=i;if(l){let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=r.jsx(f,{}),e[0]=t):t=e[0],t}if(c){let t;return e[1]===Symbol.for("react.memo_cache_sentinel")?(t=r.jsx(p,{}),e[1]=t):t=e[1],t}if(!n){let t;return e[2]!==o?(t=r.jsx(x,{area:o}),e[2]=o,e[3]=t):t=e[3],t}let s;return e[4]!==a?(s=r.jsx(r.Fragment,{children:a}),e[4]=a,e[5]=s):s=e[5],s}export{d as A};