import{removeTrailingSlash as l}from"../url/remove-trailing-slash.js";function s(i){return i=i.split("?")[0].split("#")[0],i.endsWith("/")&&(i=l(i)),i.startsWith("/")||(i="/"+i),decodeURI(i)}export{s as normalizeRouteSlug};
