export function pathIncludesLink(e,n){return!!n&&decodeURIComponent(e.pathname+e.hash).includes(decodeURIComponent(n.toLowerCase()))}export function pathMatchedLink(e,n=""){const o=decodeURIComponent(n.toLowerCase());return decodeURIComponent(e.pathname)===o||decodeURIComponent(e.hash)===o||decodeURIComponent(e.pathname+e.hash)===o}export function normalizePath(e){return e.startsWith("/")||(e="/"+e),e.endsWith("/")&&(e=e.slice(0,-1)),e}
//# sourceMappingURL=path.js.map