const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-C4DNhOLd.js","./index-DR3HTfO6.js","./index-BLDnEtdF.css","./index-CWrrTi4L.css"])))=>i.map(i=>d[i]);
import{r as t,p as n,j as r,G as a,I as i}from"./index-DR3HTfO6.js";const s=t.lazy(()=>a(()=>import("./index-C4DNhOLd.js").then(o=>o.bG),__vite__mapDeps([0,1,2,3]),import.meta.url)),d=`{
  getNodeInfo {
    code
    info {
      did
      pk
    }
  }
}`,l=()=>{const o={},e=i();return e&&(o.Authorization=`Bearer ${e}`),typeof window<"u"&&typeof window.location<"u"&&(o["x-real-hostname"]=window.location.hostname,o["x-real-port"]=window.location.port,o["x-real-protocol"]=window.location.protocol),o};function c(){const{t:o}=t.useContext(n),e=`${window.env&&window.env.apiPrefix?window.env.apiPrefix:""}/api/gql`.replace(/\/+/g,"/").trim();return r.jsx(s,{defaultQuery:d,endpoint:e,title:o("common.console"),enableHistory:!0,enableQueryComposer:!0,enableCodeExporter:!1,extraHeaders:l})}export{c as default};
