"use strict";function pathIncludesLink(e,t){return!!t&&decodeURIComponent(e.pathname+e.hash).includes(decodeURIComponent(t.toLowerCase()))}function pathMatchedLink(e,t=""){const n=decodeURIComponent(t.toLowerCase());return decodeURIComponent(e.pathname)===n||decodeURIComponent(e.hash)===n||decodeURIComponent(e.pathname+e.hash)===n}function normalizePath(e){return e.startsWith("/")||(e="/"+e),e.endsWith("/")&&(e=e.slice(0,-1)),e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.normalizePath=exports.pathMatchedLink=exports.pathIncludesLink=void 0,exports.pathIncludesLink=pathIncludesLink,exports.pathMatchedLink=pathMatchedLink,exports.normalizePath=normalizePath;
//# sourceMappingURL=path.js.map