/opt/canhelp/node_modules/next/dist/esm/build/static-paths
NameSizeModeActions
app.js351010644editdlrm
app.js.map498620644editdlrm
pages.js86650644editdlrm
pages.js.map134810644editdlrm
types.js460644editdlrm
types.js.map14240644editdlrm
utils.js7080644editdlrm
utils.js.map13030644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/esm/build/static-paths/utils.js (708B)
/** * Encodes a parameter value using the provided encoder. * * @param value - The value to encode. * @param encoder - The encoder to use. * @returns The encoded value. */ export function encodeParam(value, encoder) { let replaceValue; if (Array.isArray(value)) { replaceValue = value.map(encoder).join('/'); } else { replaceValue = encoder(value); } return replaceValue; } /** * Normalizes a pathname to a consistent format. * * @param pathname - The pathname to normalize. * @returns The normalized pathname. */ export function normalizePathname(pathname) { return pathname.replace(/\\/g, '/').replace(/(?!^)\/$/, ''); } //# sourceMappingURL=utils.js.map