"use strict";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.readDefaultRegistryFromConfig=void 0;const t=require("../common/Constants"),r=e(require("path")),i=require("./FsBlockingUtil"),s=e(require("../log"));exports.readDefaultRegistryFromConfig=function(){let e="";try{e=r.default.resolve(__dirname,"..","..",t.Constants.PmRcDir,t.Constants.DefaultRegistry);return i.FsBlockingUtil.readJSON5Sync(e).registry}catch(t){return s.default.debug("",`read default registry from "${e}" failed: ${t.message}`),""}};