export const __webpack_esm_id__=35866;export const __webpack_esm_ids__=[35866];export const __webpack_esm_modules__={35866(e,t,o){o(22742);var n=o(57154);function c(e){const t=(0,n.service)(n.RuntimeConfigurationContextService),o=(0,n.getBasePath)().replace(/\/$/,"");e.webapiFrameSrc=`${o}/res/swagger5/index.html?basePath=${encodeURIComponent(o)}`;const c=[],r=document.getElementById("webapi_frame");if(!r)return;r.style.display="none";const s=()=>{try{const e=r.contentDocument||r.contentWindow?.document;if(!e?.documentElement)return;const t=getComputedStyle(document.documentElement),o=e.documentElement;for(const e of t){if(!e.startsWith("--gw-"))continue;const n=t.getPropertyValue(e);o.style.getPropertyValue(e)!==n&&o.style.setProperty(e,n)}r.style.display="block"}catch(e){r.style.display="block",console.error("Cannot access iframe styles:",e)}};let a;const l=()=>{"function"==typeof a&&a(),a=t.onThemeModeChanged(s)};r.addEventListener("load",l),c.push(()=>{r.removeEventListener("load",l)}),e.$on("$destroy",()=>{r.removeEventListener("load",l),"function"==typeof a&&(a(),a=void 0),c.forEach(e=>{try{e()}catch{}})})}angular.module("graphdb.framework.webapi",[]).controller("WebApiCtrl",c),c.$inject=["$scope"]}};
//# sourceMappingURL=35866.260c6038e43ddb5c37d4.bundle.js.map