"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolvePath=resolvePath,exports.isPluginPath=isPluginPath;const tslib_1=require("tslib"),path_1=tslib_1.__importDefault(require("path"));function resolvePath(t,e){const i=path_1.default.posix.dirname(t);let s=null;return s=e.startsWith("/")?e.replace(/^\//,""):path_1.default.posix.join(i,e),s}function isPluginPath(t){return t.startsWith("plugin://")||t.startsWith("plugin-private://")}