mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 21:31:02 +00:00
1 line
33 KiB
Plaintext
1 line
33 KiB
Plaintext
{"dependencies":[{"name":"./matchers","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":19,"index":184},"end":{"line":5,"column":40,"index":205}}],"key":"89ylKT57ef0l7ma8+p1HhPaMj94=","exportNames":["*"],"imports":1}},{"name":"./sortRoutes","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":21,"index":228},"end":{"line":6,"column":44,"index":251}}],"key":"AGgdHPlpLdteTt8GoJKs7TyzmuQ=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.getServerManifest = getServerManifest;\n exports.parseParameter = parseParameter;\n const matchers_1 = require(_dependencyMap[0], \"./matchers\");\n const sortRoutes_1 = require(_dependencyMap[1], \"./sortRoutes\");\n function isNotFoundRoute(route) {\n return route.dynamic && route.dynamic[route.dynamic.length - 1].notFound;\n }\n function uniqueBy(arr, key) {\n const seen = new Set();\n return arr.filter(item => {\n const id = key(item);\n if (seen.has(id)) {\n return false;\n }\n seen.add(id);\n return true;\n });\n }\n // Given a nested route tree, return a flattened array of all routes that can be matched.\n function getServerManifest(route) {\n function getFlatNodes(route, parentRoute = '') {\n // Use a recreated route instead of contextKey because we duplicate nodes to support array syntax.\n const absoluteRoute = [parentRoute, route.route].filter(Boolean).join('/');\n if (route.children.length) {\n return route.children.map(child => getFlatNodes(child, absoluteRoute)).flat();\n }\n // API Routes are handled differently to HTML routes because they have no nested behavior.\n // An HTML route can be different based on parent segments due to layout routes, therefore multiple\n // copies should be rendered. However, an API route is always the same regardless of parent segments.\n let key;\n if (route.type.includes('api')) {\n key = (0, matchers_1.getContextKey)(route.contextKey).replace(/\\/index$/, '') ?? '/';\n } else {\n key = (0, matchers_1.getContextKey)(absoluteRoute).replace(/\\/index$/, '') ?? '/';\n }\n return [[key, '/' + absoluteRoute, route]];\n }\n // Remove duplicates from the runtime manifest which expands array syntax.\n const flat = getFlatNodes(route).sort(([,, a], [,, b]) => (0, sortRoutes_1.sortRoutes)(b, a)).reverse();\n const apiRoutes = uniqueBy(flat.filter(([,, route]) => route.type === 'api'), ([path]) => path);\n const otherRoutes = uniqueBy(flat.filter(([,, route]) => route.type === 'route' || route.type === 'rewrite' && (route.methods === undefined || route.methods.includes('GET'))), ([path]) => path);\n const redirects = uniqueBy(flat.filter(([,, route]) => route.type === 'redirect'), ([path]) => path).map(redirect => {\n redirect[1] = flat.find(([,, route]) => route.contextKey === redirect[2].destinationContextKey)?.[0] ?? '/';\n return redirect;\n }).reverse();\n const rewrites = uniqueBy(flat.filter(([,, route]) => route.type === 'rewrite'), ([path]) => path).map(rewrite => {\n rewrite[1] = flat.find(([,, route]) => route.contextKey === rewrite[2].destinationContextKey)?.[0] ?? '/';\n return rewrite;\n }).reverse();\n const standardRoutes = otherRoutes.filter(([,, route]) => !isNotFoundRoute(route));\n const notFoundRoutes = otherRoutes.filter(([,, route]) => isNotFoundRoute(route));\n return {\n apiRoutes: getMatchableManifestForPaths(apiRoutes),\n htmlRoutes: getMatchableManifestForPaths(standardRoutes),\n notFoundRoutes: getMatchableManifestForPaths(notFoundRoutes),\n redirects: getMatchableManifestForPaths(redirects),\n rewrites: getMatchableManifestForPaths(rewrites)\n };\n }\n function getMatchableManifestForPaths(paths) {\n return paths.map(([normalizedRoutePath, absoluteRoute, node]) => {\n const matcher = getNamedRouteRegex(normalizedRoutePath, absoluteRoute, node.contextKey);\n if (node.generated) {\n matcher.generated = true;\n }\n if (node.permanent) {\n matcher.permanent = true;\n }\n if (node.methods) {\n matcher.methods = node.methods;\n }\n return matcher;\n });\n }\n function getNamedRouteRegex(normalizedRoute, page, file) {\n const result = getNamedParametrizedRoute(normalizedRoute);\n return {\n file,\n page,\n namedRegex: `^${result.namedParameterizedRoute}(?:/)?$`,\n routeKeys: result.routeKeys\n };\n }\n /**\n * Builds a function to generate a minimal routeKey using only a-z and minimal\n * number of characters.\n */\n function buildGetSafeRouteKey() {\n let currentCharCode = 96; // Starting one before 'a' to make the increment logic simpler\n let currentLength = 1;\n return () => {\n let result = '';\n let incrementNext = true;\n // Iterate from right to left to build the key\n for (let i = 0; i < currentLength; i++) {\n if (incrementNext) {\n currentCharCode++;\n if (currentCharCode > 122) {\n currentCharCode = 97; // Reset to 'a'\n incrementNext = true; // Continue to increment the next character\n } else {\n incrementNext = false;\n }\n }\n result = String.fromCharCode(currentCharCode) + result;\n }\n // If all characters are 'z', increase the length of the key\n if (incrementNext) {\n currentLength++;\n currentCharCode = 96; // This will make the next key start with 'a'\n }\n return result;\n };\n }\n function removeTrailingSlash(route) {\n return route.replace(/\\/$/, '') || '/';\n }\n function getNamedParametrizedRoute(route) {\n const segments = removeTrailingSlash(route).slice(1).split('/');\n const getSafeRouteKey = buildGetSafeRouteKey();\n const routeKeys = {};\n return {\n namedParameterizedRoute: segments.map((segment, index) => {\n if (segment === '+not-found' && index === segments.length - 1) {\n segment = '[...not-found]';\n }\n if (/^\\[.*\\]$/.test(segment)) {\n const {\n name,\n optional,\n repeat\n } = parseParameter(segment);\n // replace any non-word characters since they can break\n // the named regex\n let cleanedKey = name.replace(/\\W/g, '');\n let invalidKey = false;\n // check if the key is still invalid and fallback to using a known\n // safe key\n if (cleanedKey.length === 0 || cleanedKey.length > 30) {\n invalidKey = true;\n }\n if (!isNaN(parseInt(cleanedKey.slice(0, 1), 10))) {\n invalidKey = true;\n }\n // Prevent duplicates after sanitizing the key\n if (cleanedKey in routeKeys) {\n invalidKey = true;\n }\n if (invalidKey) {\n cleanedKey = getSafeRouteKey();\n }\n routeKeys[cleanedKey] = name;\n return repeat ? optional ? `(?:/(?<${cleanedKey}>.+?))?` : `/(?<${cleanedKey}>.+?)` : `/(?<${cleanedKey}>[^/]+?)`;\n } else if (/^\\(.*\\)$/.test(segment)) {\n const groupName = (0, matchers_1.matchGroupName)(segment).split(',').map(group => group.trim()).filter(Boolean);\n if (groupName.length > 1) {\n const optionalSegment = `\\\\((?:${groupName.map(escapeStringRegexp).join('|')})\\\\)`;\n // Make section optional\n return `(?:/${optionalSegment})?`;\n } else {\n // Use simpler regex for single groups\n return `(?:/${escapeStringRegexp(segment)})?`;\n }\n } else {\n return `/${escapeStringRegexp(segment)}`;\n }\n }).join(''),\n routeKeys\n };\n }\n // regexp is based on https://github.com/sindresorhus/escape-string-regexp\n const reHasRegExp = /[|\\\\{}()[\\]^$+*?.-]/;\n const reReplaceRegExp = /[|\\\\{}()[\\]^$+*?.-]/g;\n function escapeStringRegexp(str) {\n // see also: https://github.com/lodash/lodash/blob/2da024c3b4f9947a48517639de7560457cd4ec6c/escapeRegExp.js#L23\n if (reHasRegExp.test(str)) {\n return str.replace(reReplaceRegExp, '\\\\$&');\n }\n return str;\n }\n function parseParameter(param) {\n let repeat = false;\n let optional = false;\n let name = param;\n if (/^\\[.*\\]$/.test(name)) {\n optional = true;\n name = name.slice(1, -1);\n }\n if (/^\\.\\.\\./.test(name)) {\n repeat = true;\n name = name.slice(3);\n }\n return {\n name,\n repeat,\n optional\n };\n }\n});","lineCount":205,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"getServerManifest"],[7,27,3,25],[7,30,3,28,"getServerManifest"],[7,47,3,45],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"parseParameter"],[8,24,4,22],[8,27,4,25,"parseParameter"],[8,41,4,39],[9,2,5,0],[9,8,5,6,"matchers_1"],[9,18,5,16],[9,21,5,19,"require"],[9,28,5,26],[9,29,5,26,"_dependencyMap"],[9,43,5,26],[9,60,5,39],[9,61,5,40],[10,2,6,0],[10,8,6,6,"sortRoutes_1"],[10,20,6,18],[10,23,6,21,"require"],[10,30,6,28],[10,31,6,28,"_dependencyMap"],[10,45,6,28],[10,64,6,43],[10,65,6,44],[11,2,7,0],[11,11,7,9,"isNotFoundRoute"],[11,26,7,24,"isNotFoundRoute"],[11,27,7,25,"route"],[11,32,7,30],[11,34,7,32],[12,4,8,4],[12,11,8,11,"route"],[12,16,8,16],[12,17,8,17,"dynamic"],[12,24,8,24],[12,28,8,28,"route"],[12,33,8,33],[12,34,8,34,"dynamic"],[12,41,8,41],[12,42,8,42,"route"],[12,47,8,47],[12,48,8,48,"dynamic"],[12,55,8,55],[12,56,8,56,"length"],[12,62,8,62],[12,65,8,65],[12,66,8,66],[12,67,8,67],[12,68,8,68,"notFound"],[12,76,8,76],[13,2,9,0],[14,2,10,0],[14,11,10,9,"uniqueBy"],[14,19,10,17,"uniqueBy"],[14,20,10,18,"arr"],[14,23,10,21],[14,25,10,23,"key"],[14,28,10,26],[14,30,10,28],[15,4,11,4],[15,10,11,10,"seen"],[15,14,11,14],[15,17,11,17],[15,21,11,21,"Set"],[15,24,11,24],[15,25,11,25],[15,26,11,26],[16,4,12,4],[16,11,12,11,"arr"],[16,14,12,14],[16,15,12,15,"filter"],[16,21,12,21],[16,22,12,23,"item"],[16,26,12,27],[16,30,12,32],[17,6,13,8],[17,12,13,14,"id"],[17,14,13,16],[17,17,13,19,"key"],[17,20,13,22],[17,21,13,23,"item"],[17,25,13,27],[17,26,13,28],[18,6,14,8],[18,10,14,12,"seen"],[18,14,14,16],[18,15,14,17,"has"],[18,18,14,20],[18,19,14,21,"id"],[18,21,14,23],[18,22,14,24],[18,24,14,26],[19,8,15,12],[19,15,15,19],[19,20,15,24],[20,6,16,8],[21,6,17,8,"seen"],[21,10,17,12],[21,11,17,13,"add"],[21,14,17,16],[21,15,17,17,"id"],[21,17,17,19],[21,18,17,20],[22,6,18,8],[22,13,18,15],[22,17,18,19],[23,4,19,4],[23,5,19,5],[23,6,19,6],[24,2,20,0],[25,2,21,0],[26,2,22,0],[26,11,22,9,"getServerManifest"],[26,28,22,26,"getServerManifest"],[26,29,22,27,"route"],[26,34,22,32],[26,36,22,34],[27,4,23,4],[27,13,23,13,"getFlatNodes"],[27,25,23,25,"getFlatNodes"],[27,26,23,26,"route"],[27,31,23,31],[27,33,23,33,"parentRoute"],[27,44,23,44],[27,47,23,47],[27,49,23,49],[27,51,23,51],[28,6,24,8],[29,6,25,8],[29,12,25,14,"absoluteRoute"],[29,25,25,27],[29,28,25,30],[29,29,25,31,"parentRoute"],[29,40,25,42],[29,42,25,44,"route"],[29,47,25,49],[29,48,25,50,"route"],[29,53,25,55],[29,54,25,56],[29,55,25,57,"filter"],[29,61,25,63],[29,62,25,64,"Boolean"],[29,69,25,71],[29,70,25,72],[29,71,25,73,"join"],[29,75,25,77],[29,76,25,78],[29,79,25,81],[29,80,25,82],[30,6,26,8],[30,10,26,12,"route"],[30,15,26,17],[30,16,26,18,"children"],[30,24,26,26],[30,25,26,27,"length"],[30,31,26,33],[30,33,26,35],[31,8,27,12],[31,15,27,19,"route"],[31,20,27,24],[31,21,27,25,"children"],[31,29,27,33],[31,30,27,34,"map"],[31,33,27,37],[31,34,27,39,"child"],[31,39,27,44],[31,43,27,49,"getFlatNodes"],[31,55,27,61],[31,56,27,62,"child"],[31,61,27,67],[31,63,27,69,"absoluteRoute"],[31,76,27,82],[31,77,27,83],[31,78,27,84],[31,79,27,85,"flat"],[31,83,27,89],[31,84,27,90],[31,85,27,91],[32,6,28,8],[33,6,29,8],[34,6,30,8],[35,6,31,8],[36,6,32,8],[36,10,32,12,"key"],[36,13,32,15],[37,6,33,8],[37,10,33,12,"route"],[37,15,33,17],[37,16,33,18,"type"],[37,20,33,22],[37,21,33,23,"includes"],[37,29,33,31],[37,30,33,32],[37,35,33,37],[37,36,33,38],[37,38,33,40],[38,8,34,12,"key"],[38,11,34,15],[38,14,34,18],[38,15,34,19],[38,16,34,20],[38,18,34,22,"matchers_1"],[38,28,34,32],[38,29,34,33,"getContextKey"],[38,42,34,46],[38,44,34,48,"route"],[38,49,34,53],[38,50,34,54,"contextKey"],[38,60,34,64],[38,61,34,65],[38,62,34,66,"replace"],[38,69,34,73],[38,70,34,74],[38,80,34,84],[38,82,34,86],[38,84,34,88],[38,85,34,89],[38,89,34,93],[38,92,34,96],[39,6,35,8],[39,7,35,9],[39,13,36,13],[40,8,37,12,"key"],[40,11,37,15],[40,14,37,18],[40,15,37,19],[40,16,37,20],[40,18,37,22,"matchers_1"],[40,28,37,32],[40,29,37,33,"getContextKey"],[40,42,37,46],[40,44,37,48,"absoluteRoute"],[40,57,37,61],[40,58,37,62],[40,59,37,63,"replace"],[40,66,37,70],[40,67,37,71],[40,77,37,81],[40,79,37,83],[40,81,37,85],[40,82,37,86],[40,86,37,90],[40,89,37,93],[41,6,38,8],[42,6,39,8],[42,13,39,15],[42,14,39,16],[42,15,39,17,"key"],[42,18,39,20],[42,20,39,22],[42,23,39,25],[42,26,39,28,"absoluteRoute"],[42,39,39,41],[42,41,39,43,"route"],[42,46,39,48],[42,47,39,49],[42,48,39,50],[43,4,40,4],[44,4,41,4],[45,4,42,4],[45,10,42,10,"flat"],[45,14,42,14],[45,17,42,17,"getFlatNodes"],[45,29,42,29],[45,30,42,30,"route"],[45,35,42,35],[45,36,42,36],[45,37,43,9,"sort"],[45,41,43,13],[45,42,43,14],[45,43,43,15],[45,47,43,20,"a"],[45,48,43,21],[45,49,43,22],[45,51,43,24],[45,55,43,29,"b"],[45,56,43,30],[45,57,43,31],[45,62,43,36],[45,63,43,37],[45,64,43,38],[45,66,43,40,"sortRoutes_1"],[45,78,43,52],[45,79,43,53,"sortRoutes"],[45,89,43,63],[45,91,43,65,"b"],[45,92,43,66],[45,94,43,68,"a"],[45,95,43,69],[45,96,43,70],[45,97,43,71],[45,98,44,9,"reverse"],[45,105,44,16],[45,106,44,17],[45,107,44,18],[46,4,45,4],[46,10,45,10,"apiRoutes"],[46,19,45,19],[46,22,45,22,"uniqueBy"],[46,30,45,30],[46,31,45,31,"flat"],[46,35,45,35],[46,36,45,36,"filter"],[46,42,45,42],[46,43,45,43],[46,44,45,44],[46,48,45,49,"route"],[46,53,45,54],[46,54,45,55],[46,59,45,60,"route"],[46,64,45,65],[46,65,45,66,"type"],[46,69,45,70],[46,74,45,75],[46,79,45,80],[46,80,45,81],[46,82,45,83],[46,83,45,84],[46,84,45,85,"path"],[46,88,45,89],[46,89,45,90],[46,94,45,95,"path"],[46,98,45,99],[46,99,45,100],[47,4,46,4],[47,10,46,10,"otherRoutes"],[47,21,46,21],[47,24,46,24,"uniqueBy"],[47,32,46,32],[47,33,46,33,"flat"],[47,37,46,37],[47,38,46,38,"filter"],[47,44,46,44],[47,45,46,45],[47,46,46,46],[47,50,46,51,"route"],[47,55,46,56],[47,56,46,57],[47,61,46,62,"route"],[47,66,46,67],[47,67,46,68,"type"],[47,71,46,72],[47,76,46,77],[47,83,46,84],[47,87,47,9,"route"],[47,92,47,14],[47,93,47,15,"type"],[47,97,47,19],[47,102,47,24],[47,111,47,33],[47,116,47,38,"route"],[47,121,47,43],[47,122,47,44,"methods"],[47,129,47,51],[47,134,47,56,"undefined"],[47,143,47,65],[47,147,47,69,"route"],[47,152,47,74],[47,153,47,75,"methods"],[47,160,47,82],[47,161,47,83,"includes"],[47,169,47,91],[47,170,47,92],[47,175,47,97],[47,176,47,98],[47,177,47,100],[47,178,47,101],[47,180,47,103],[47,181,47,104],[47,182,47,105,"path"],[47,186,47,109],[47,187,47,110],[47,192,47,115,"path"],[47,196,47,119],[47,197,47,120],[48,4,48,4],[48,10,48,10,"redirects"],[48,19,48,19],[48,22,48,22,"uniqueBy"],[48,30,48,30],[48,31,48,31,"flat"],[48,35,48,35],[48,36,48,36,"filter"],[48,42,48,42],[48,43,48,43],[48,44,48,44],[48,48,48,49,"route"],[48,53,48,54],[48,54,48,55],[48,59,48,60,"route"],[48,64,48,65],[48,65,48,66,"type"],[48,69,48,70],[48,74,48,75],[48,84,48,85],[48,85,48,86],[48,87,48,88],[48,88,48,89],[48,89,48,90,"path"],[48,93,48,94],[48,94,48,95],[48,99,48,100,"path"],[48,103,48,104],[48,104,48,105],[48,105,49,9,"map"],[48,108,49,12],[48,109,49,14,"redirect"],[48,117,49,22],[48,121,49,27],[49,6,50,8,"redirect"],[49,14,50,16],[49,15,50,17],[49,16,50,18],[49,17,50,19],[49,20,51,12,"flat"],[49,24,51,16],[49,25,51,17,"find"],[49,29,51,21],[49,30,51,22],[49,31,51,23],[49,35,51,28,"route"],[49,40,51,33],[49,41,51,34],[49,46,51,39,"route"],[49,51,51,44],[49,52,51,45,"contextKey"],[49,62,51,55],[49,67,51,60,"redirect"],[49,75,51,68],[49,76,51,69],[49,77,51,70],[49,78,51,71],[49,79,51,72,"destinationContextKey"],[49,100,51,93],[49,101,51,94],[49,104,51,97],[49,105,51,98],[49,106,51,99],[49,110,52,16],[49,113,52,19],[50,6,53,8],[50,13,53,15,"redirect"],[50,21,53,23],[51,4,54,4],[51,5,54,5],[51,6,54,6],[51,7,55,9,"reverse"],[51,14,55,16],[51,15,55,17],[51,16,55,18],[52,4,56,4],[52,10,56,10,"rewrites"],[52,18,56,18],[52,21,56,21,"uniqueBy"],[52,29,56,29],[52,30,56,30,"flat"],[52,34,56,34],[52,35,56,35,"filter"],[52,41,56,41],[52,42,56,42],[52,43,56,43],[52,47,56,48,"route"],[52,52,56,53],[52,53,56,54],[52,58,56,59,"route"],[52,63,56,64],[52,64,56,65,"type"],[52,68,56,69],[52,73,56,74],[52,82,56,83],[52,83,56,84],[52,85,56,86],[52,86,56,87],[52,87,56,88,"path"],[52,91,56,92],[52,92,56,93],[52,97,56,98,"path"],[52,101,56,102],[52,102,56,103],[52,103,57,9,"map"],[52,106,57,12],[52,107,57,14,"rewrite"],[52,114,57,21],[52,118,57,26],[53,6,58,8,"rewrite"],[53,13,58,15],[53,14,58,16],[53,15,58,17],[53,16,58,18],[53,19,59,12,"flat"],[53,23,59,16],[53,24,59,17,"find"],[53,28,59,21],[53,29,59,22],[53,30,59,23],[53,34,59,28,"route"],[53,39,59,33],[53,40,59,34],[53,45,59,39,"route"],[53,50,59,44],[53,51,59,45,"contextKey"],[53,61,59,55],[53,66,59,60,"rewrite"],[53,73,59,67],[53,74,59,68],[53,75,59,69],[53,76,59,70],[53,77,59,71,"destinationContextKey"],[53,98,59,92],[53,99,59,93],[53,102,59,96],[53,103,59,97],[53,104,59,98],[53,108,60,16],[53,111,60,19],[54,6,61,8],[54,13,61,15,"rewrite"],[54,20,61,22],[55,4,62,4],[55,5,62,5],[55,6,62,6],[55,7,63,9,"reverse"],[55,14,63,16],[55,15,63,17],[55,16,63,18],[56,4,64,4],[56,10,64,10,"standardRoutes"],[56,24,64,24],[56,27,64,27,"otherRoutes"],[56,38,64,38],[56,39,64,39,"filter"],[56,45,64,45],[56,46,64,46],[56,47,64,47],[56,51,64,52,"route"],[56,56,64,57],[56,57,64,58],[56,62,64,63],[56,63,64,64,"isNotFoundRoute"],[56,78,64,79],[56,79,64,80,"route"],[56,84,64,85],[56,85,64,86],[56,86,64,87],[57,4,65,4],[57,10,65,10,"notFoundRoutes"],[57,24,65,24],[57,27,65,27,"otherRoutes"],[57,38,65,38],[57,39,65,39,"filter"],[57,45,65,45],[57,46,65,46],[57,47,65,47],[57,51,65,52,"route"],[57,56,65,57],[57,57,65,58],[57,62,65,63,"isNotFoundRoute"],[57,77,65,78],[57,78,65,79,"route"],[57,83,65,84],[57,84,65,85],[57,85,65,86],[58,4,66,4],[58,11,66,11],[59,6,67,8,"apiRoutes"],[59,15,67,17],[59,17,67,19,"getMatchableManifestForPaths"],[59,45,67,47],[59,46,67,48,"apiRoutes"],[59,55,67,57],[59,56,67,58],[60,6,68,8,"htmlRoutes"],[60,16,68,18],[60,18,68,20,"getMatchableManifestForPaths"],[60,46,68,48],[60,47,68,49,"standardRoutes"],[60,61,68,63],[60,62,68,64],[61,6,69,8,"notFoundRoutes"],[61,20,69,22],[61,22,69,24,"getMatchableManifestForPaths"],[61,50,69,52],[61,51,69,53,"notFoundRoutes"],[61,65,69,67],[61,66,69,68],[62,6,70,8,"redirects"],[62,15,70,17],[62,17,70,19,"getMatchableManifestForPaths"],[62,45,70,47],[62,46,70,48,"redirects"],[62,55,70,57],[62,56,70,58],[63,6,71,8,"rewrites"],[63,14,71,16],[63,16,71,18,"getMatchableManifestForPaths"],[63,44,71,46],[63,45,71,47,"rewrites"],[63,53,71,55],[64,4,72,4],[64,5,72,5],[65,2,73,0],[66,2,74,0],[66,11,74,9,"getMatchableManifestForPaths"],[66,39,74,37,"getMatchableManifestForPaths"],[66,40,74,38,"paths"],[66,45,74,43],[66,47,74,45],[67,4,75,4],[67,11,75,11,"paths"],[67,16,75,16],[67,17,75,17,"map"],[67,20,75,20],[67,21,75,21],[67,22,75,22],[67,23,75,23,"normalizedRoutePath"],[67,42,75,42],[67,44,75,44,"absoluteRoute"],[67,57,75,57],[67,59,75,59,"node"],[67,63,75,63],[67,64,75,64],[67,69,75,69],[68,6,76,8],[68,12,76,14,"matcher"],[68,19,76,21],[68,22,76,24,"getNamedRouteRegex"],[68,40,76,42],[68,41,76,43,"normalizedRoutePath"],[68,60,76,62],[68,62,76,64,"absoluteRoute"],[68,75,76,77],[68,77,76,79,"node"],[68,81,76,83],[68,82,76,84,"contextKey"],[68,92,76,94],[68,93,76,95],[69,6,77,8],[69,10,77,12,"node"],[69,14,77,16],[69,15,77,17,"generated"],[69,24,77,26],[69,26,77,28],[70,8,78,12,"matcher"],[70,15,78,19],[70,16,78,20,"generated"],[70,25,78,29],[70,28,78,32],[70,32,78,36],[71,6,79,8],[72,6,80,8],[72,10,80,12,"node"],[72,14,80,16],[72,15,80,17,"permanent"],[72,24,80,26],[72,26,80,28],[73,8,81,12,"matcher"],[73,15,81,19],[73,16,81,20,"permanent"],[73,25,81,29],[73,28,81,32],[73,32,81,36],[74,6,82,8],[75,6,83,8],[75,10,83,12,"node"],[75,14,83,16],[75,15,83,17,"methods"],[75,22,83,24],[75,24,83,26],[76,8,84,12,"matcher"],[76,15,84,19],[76,16,84,20,"methods"],[76,23,84,27],[76,26,84,30,"node"],[76,30,84,34],[76,31,84,35,"methods"],[76,38,84,42],[77,6,85,8],[78,6,86,8],[78,13,86,15,"matcher"],[78,20,86,22],[79,4,87,4],[79,5,87,5],[79,6,87,6],[80,2,88,0],[81,2,89,0],[81,11,89,9,"getNamedRouteRegex"],[81,29,89,27,"getNamedRouteRegex"],[81,30,89,28,"normalizedRoute"],[81,45,89,43],[81,47,89,45,"page"],[81,51,89,49],[81,53,89,51,"file"],[81,57,89,55],[81,59,89,57],[82,4,90,4],[82,10,90,10,"result"],[82,16,90,16],[82,19,90,19,"getNamedParametrizedRoute"],[82,44,90,44],[82,45,90,45,"normalizedRoute"],[82,60,90,60],[82,61,90,61],[83,4,91,4],[83,11,91,11],[84,6,92,8,"file"],[84,10,92,12],[85,6,93,8,"page"],[85,10,93,12],[86,6,94,8,"namedRegex"],[86,16,94,18],[86,18,94,20],[86,22,94,24,"result"],[86,28,94,30],[86,29,94,31,"namedParameterizedRoute"],[86,52,94,54],[86,61,94,63],[87,6,95,8,"routeKeys"],[87,15,95,17],[87,17,95,19,"result"],[87,23,95,25],[87,24,95,26,"routeKeys"],[88,4,96,4],[88,5,96,5],[89,2,97,0],[90,2,98,0],[91,0,99,0],[92,0,100,0],[93,0,101,0],[94,2,102,0],[94,11,102,9,"buildGetSafeRouteKey"],[94,31,102,29,"buildGetSafeRouteKey"],[94,32,102,29],[94,34,102,32],[95,4,103,4],[95,8,103,8,"currentCharCode"],[95,23,103,23],[95,26,103,26],[95,28,103,28],[95,29,103,29],[95,30,103,30],[96,4,104,4],[96,8,104,8,"currentLength"],[96,21,104,21],[96,24,104,24],[96,25,104,25],[97,4,105,4],[97,11,105,11],[97,17,105,17],[98,6,106,8],[98,10,106,12,"result"],[98,16,106,18],[98,19,106,21],[98,21,106,23],[99,6,107,8],[99,10,107,12,"incrementNext"],[99,23,107,25],[99,26,107,28],[99,30,107,32],[100,6,108,8],[101,6,109,8],[101,11,109,13],[101,15,109,17,"i"],[101,16,109,18],[101,19,109,21],[101,20,109,22],[101,22,109,24,"i"],[101,23,109,25],[101,26,109,28,"currentLength"],[101,39,109,41],[101,41,109,43,"i"],[101,42,109,44],[101,44,109,46],[101,46,109,48],[102,8,110,12],[102,12,110,16,"incrementNext"],[102,25,110,29],[102,27,110,31],[103,10,111,16,"currentCharCode"],[103,25,111,31],[103,27,111,33],[104,10,112,16],[104,14,112,20,"currentCharCode"],[104,29,112,35],[104,32,112,38],[104,35,112,41],[104,37,112,43],[105,12,113,20,"currentCharCode"],[105,27,113,35],[105,30,113,38],[105,32,113,40],[105,33,113,41],[105,34,113,42],[106,12,114,20,"incrementNext"],[106,25,114,33],[106,28,114,36],[106,32,114,40],[106,33,114,41],[106,34,114,42],[107,10,115,16],[107,11,115,17],[107,17,116,21],[108,12,117,20,"incrementNext"],[108,25,117,33],[108,28,117,36],[108,33,117,41],[109,10,118,16],[110,8,119,12],[111,8,120,12,"result"],[111,14,120,18],[111,17,120,21,"String"],[111,23,120,27],[111,24,120,28,"fromCharCode"],[111,36,120,40],[111,37,120,41,"currentCharCode"],[111,52,120,56],[111,53,120,57],[111,56,120,60,"result"],[111,62,120,66],[112,6,121,8],[113,6,122,8],[114,6,123,8],[114,10,123,12,"incrementNext"],[114,23,123,25],[114,25,123,27],[115,8,124,12,"currentLength"],[115,21,124,25],[115,23,124,27],[116,8,125,12,"currentCharCode"],[116,23,125,27],[116,26,125,30],[116,28,125,32],[116,29,125,33],[116,30,125,34],[117,6,126,8],[118,6,127,8],[118,13,127,15,"result"],[118,19,127,21],[119,4,128,4],[119,5,128,5],[120,2,129,0],[121,2,130,0],[121,11,130,9,"removeTrailingSlash"],[121,30,130,28,"removeTrailingSlash"],[121,31,130,29,"route"],[121,36,130,34],[121,38,130,36],[122,4,131,4],[122,11,131,11,"route"],[122,16,131,16],[122,17,131,17,"replace"],[122,24,131,24],[122,25,131,25],[122,30,131,30],[122,32,131,32],[122,34,131,34],[122,35,131,35],[122,39,131,39],[122,42,131,42],[123,2,132,0],[124,2,133,0],[124,11,133,9,"getNamedParametrizedRoute"],[124,36,133,34,"getNamedParametrizedRoute"],[124,37,133,35,"route"],[124,42,133,40],[124,44,133,42],[125,4,134,4],[125,10,134,10,"segments"],[125,18,134,18],[125,21,134,21,"removeTrailingSlash"],[125,40,134,40],[125,41,134,41,"route"],[125,46,134,46],[125,47,134,47],[125,48,134,48,"slice"],[125,53,134,53],[125,54,134,54],[125,55,134,55],[125,56,134,56],[125,57,134,57,"split"],[125,62,134,62],[125,63,134,63],[125,66,134,66],[125,67,134,67],[126,4,135,4],[126,10,135,10,"getSafeRouteKey"],[126,25,135,25],[126,28,135,28,"buildGetSafeRouteKey"],[126,48,135,48],[126,49,135,49],[126,50,135,50],[127,4,136,4],[127,10,136,10,"routeKeys"],[127,19,136,19],[127,22,136,22],[127,23,136,23],[127,24,136,24],[128,4,137,4],[128,11,137,11],[129,6,138,8,"namedParameterizedRoute"],[129,29,138,31],[129,31,138,33,"segments"],[129,39,138,41],[129,40,139,13,"map"],[129,43,139,16],[129,44,139,17],[129,45,139,18,"segment"],[129,52,139,25],[129,54,139,27,"index"],[129,59,139,32],[129,64,139,37],[130,8,140,12],[130,12,140,16,"segment"],[130,19,140,23],[130,24,140,28],[130,36,140,40],[130,40,140,44,"index"],[130,45,140,49],[130,50,140,54,"segments"],[130,58,140,62],[130,59,140,63,"length"],[130,65,140,69],[130,68,140,72],[130,69,140,73],[130,71,140,75],[131,10,141,16,"segment"],[131,17,141,23],[131,20,141,26],[131,36,141,42],[132,8,142,12],[133,8,143,12],[133,12,143,16],[133,22,143,26],[133,23,143,27,"test"],[133,27,143,31],[133,28,143,32,"segment"],[133,35,143,39],[133,36,143,40],[133,38,143,42],[134,10,144,16],[134,16,144,22],[135,12,144,24,"name"],[135,16,144,28],[136,12,144,30,"optional"],[136,20,144,38],[137,12,144,40,"repeat"],[138,10,144,47],[138,11,144,48],[138,14,144,51,"parseParameter"],[138,28,144,65],[138,29,144,66,"segment"],[138,36,144,73],[138,37,144,74],[139,10,145,16],[140,10,146,16],[141,10,147,16],[141,14,147,20,"cleanedKey"],[141,24,147,30],[141,27,147,33,"name"],[141,31,147,37],[141,32,147,38,"replace"],[141,39,147,45],[141,40,147,46],[141,45,147,51],[141,47,147,53],[141,49,147,55],[141,50,147,56],[142,10,148,16],[142,14,148,20,"invalidKey"],[142,24,148,30],[142,27,148,33],[142,32,148,38],[143,10,149,16],[144,10,150,16],[145,10,151,16],[145,14,151,20,"cleanedKey"],[145,24,151,30],[145,25,151,31,"length"],[145,31,151,37],[145,36,151,42],[145,37,151,43],[145,41,151,47,"cleanedKey"],[145,51,151,57],[145,52,151,58,"length"],[145,58,151,64],[145,61,151,67],[145,63,151,69],[145,65,151,71],[146,12,152,20,"invalidKey"],[146,22,152,30],[146,25,152,33],[146,29,152,37],[147,10,153,16],[148,10,154,16],[148,14,154,20],[148,15,154,21,"isNaN"],[148,20,154,26],[148,21,154,27,"parseInt"],[148,29,154,35],[148,30,154,36,"cleanedKey"],[148,40,154,46],[148,41,154,47,"slice"],[148,46,154,52],[148,47,154,53],[148,48,154,54],[148,50,154,56],[148,51,154,57],[148,52,154,58],[148,54,154,60],[148,56,154,62],[148,57,154,63],[148,58,154,64],[148,60,154,66],[149,12,155,20,"invalidKey"],[149,22,155,30],[149,25,155,33],[149,29,155,37],[150,10,156,16],[151,10,157,16],[152,10,158,16],[152,14,158,20,"cleanedKey"],[152,24,158,30],[152,28,158,34,"routeKeys"],[152,37,158,43],[152,39,158,45],[153,12,159,20,"invalidKey"],[153,22,159,30],[153,25,159,33],[153,29,159,37],[154,10,160,16],[155,10,161,16],[155,14,161,20,"invalidKey"],[155,24,161,30],[155,26,161,32],[156,12,162,20,"cleanedKey"],[156,22,162,30],[156,25,162,33,"getSafeRouteKey"],[156,40,162,48],[156,41,162,49],[156,42,162,50],[157,10,163,16],[158,10,164,16,"routeKeys"],[158,19,164,25],[158,20,164,26,"cleanedKey"],[158,30,164,36],[158,31,164,37],[158,34,164,40,"name"],[158,38,164,44],[159,10,165,16],[159,17,165,23,"repeat"],[159,23,165,29],[159,26,166,22,"optional"],[159,34,166,30],[159,37,167,26],[159,47,167,36,"cleanedKey"],[159,57,167,46],[159,66,167,55],[159,69,168,26],[159,76,168,33,"cleanedKey"],[159,86,168,43],[159,93,168,50],[159,96,169,22],[159,103,169,29,"cleanedKey"],[159,113,169,39],[159,123,169,49],[160,8,170,12],[160,9,170,13],[160,15,171,17],[160,19,171,21],[160,29,171,31],[160,30,171,32,"test"],[160,34,171,36],[160,35,171,37,"segment"],[160,42,171,44],[160,43,171,45],[160,45,171,47],[161,10,172,16],[161,16,172,22,"groupName"],[161,25,172,31],[161,28,172,34],[161,29,172,35],[161,30,172,36],[161,32,172,38,"matchers_1"],[161,42,172,48],[161,43,172,49,"matchGroupName"],[161,57,172,63],[161,59,172,65,"segment"],[161,66,172,72],[161,67,172,73],[161,68,173,21,"split"],[161,73,173,26],[161,74,173,27],[161,77,173,30],[161,78,173,31],[161,79,174,21,"map"],[161,82,174,24],[161,83,174,26,"group"],[161,88,174,31],[161,92,174,36,"group"],[161,97,174,41],[161,98,174,42,"trim"],[161,102,174,46],[161,103,174,47],[161,104,174,48],[161,105,174,49],[161,106,175,21,"filter"],[161,112,175,27],[161,113,175,28,"Boolean"],[161,120,175,35],[161,121,175,36],[162,10,176,16],[162,14,176,20,"groupName"],[162,23,176,29],[162,24,176,30,"length"],[162,30,176,36],[162,33,176,39],[162,34,176,40],[162,36,176,42],[163,12,177,20],[163,18,177,26,"optionalSegment"],[163,33,177,41],[163,36,177,44],[163,45,177,53,"groupName"],[163,54,177,62],[163,55,177,63,"map"],[163,58,177,66],[163,59,177,67,"escapeStringRegexp"],[163,77,177,85],[163,78,177,86],[163,79,177,87,"join"],[163,83,177,91],[163,84,177,92],[163,87,177,95],[163,88,177,96],[163,94,177,102],[164,12,178,20],[165,12,179,20],[165,19,179,27],[165,26,179,34,"optionalSegment"],[165,41,179,49],[165,45,179,53],[166,10,180,16],[166,11,180,17],[166,17,181,21],[167,12,182,20],[168,12,183,20],[168,19,183,27],[168,26,183,34,"escapeStringRegexp"],[168,44,183,52],[168,45,183,53,"segment"],[168,52,183,60],[168,53,183,61],[168,57,183,65],[169,10,184,16],[170,8,185,12],[170,9,185,13],[170,15,186,17],[171,10,187,16],[171,17,187,23],[171,21,187,27,"escapeStringRegexp"],[171,39,187,45],[171,40,187,46,"segment"],[171,47,187,53],[171,48,187,54],[171,50,187,56],[172,8,188,12],[173,6,189,8],[173,7,189,9],[173,8,189,10],[173,9,190,13,"join"],[173,13,190,17],[173,14,190,18],[173,16,190,20],[173,17,190,21],[174,6,191,8,"routeKeys"],[175,4,192,4],[175,5,192,5],[176,2,193,0],[177,2,194,0],[178,2,195,0],[178,8,195,6,"reHasRegExp"],[178,19,195,17],[178,22,195,20],[178,43,195,41],[179,2,196,0],[179,8,196,6,"reReplaceRegExp"],[179,23,196,21],[179,26,196,24],[179,48,196,46],[180,2,197,0],[180,11,197,9,"escapeStringRegexp"],[180,29,197,27,"escapeStringRegexp"],[180,30,197,28,"str"],[180,33,197,31],[180,35,197,33],[181,4,198,4],[182,4,199,4],[182,8,199,8,"reHasRegExp"],[182,19,199,19],[182,20,199,20,"test"],[182,24,199,24],[182,25,199,25,"str"],[182,28,199,28],[182,29,199,29],[182,31,199,31],[183,6,200,8],[183,13,200,15,"str"],[183,16,200,18],[183,17,200,19,"replace"],[183,24,200,26],[183,25,200,27,"reReplaceRegExp"],[183,40,200,42],[183,42,200,44],[183,48,200,50],[183,49,200,51],[184,4,201,4],[185,4,202,4],[185,11,202,11,"str"],[185,14,202,14],[186,2,203,0],[187,2,204,0],[187,11,204,9,"parseParameter"],[187,25,204,23,"parseParameter"],[187,26,204,24,"param"],[187,31,204,29],[187,33,204,31],[188,4,205,4],[188,8,205,8,"repeat"],[188,14,205,14],[188,17,205,17],[188,22,205,22],[189,4,206,4],[189,8,206,8,"optional"],[189,16,206,16],[189,19,206,19],[189,24,206,24],[190,4,207,4],[190,8,207,8,"name"],[190,12,207,12],[190,15,207,15,"param"],[190,20,207,20],[191,4,208,4],[191,8,208,8],[191,18,208,18],[191,19,208,19,"test"],[191,23,208,23],[191,24,208,24,"name"],[191,28,208,28],[191,29,208,29],[191,31,208,31],[192,6,209,8,"optional"],[192,14,209,16],[192,17,209,19],[192,21,209,23],[193,6,210,8,"name"],[193,10,210,12],[193,13,210,15,"name"],[193,17,210,19],[193,18,210,20,"slice"],[193,23,210,25],[193,24,210,26],[193,25,210,27],[193,27,210,29],[193,28,210,30],[193,29,210,31],[193,30,210,32],[194,4,211,4],[195,4,212,4],[195,8,212,8],[195,17,212,17],[195,18,212,18,"test"],[195,22,212,22],[195,23,212,23,"name"],[195,27,212,27],[195,28,212,28],[195,30,212,30],[196,6,213,8,"repeat"],[196,12,213,14],[196,15,213,17],[196,19,213,21],[197,6,214,8,"name"],[197,10,214,12],[197,13,214,15,"name"],[197,17,214,19],[197,18,214,20,"slice"],[197,23,214,25],[197,24,214,26],[197,25,214,27],[197,26,214,28],[198,4,215,4],[199,4,216,4],[199,11,216,11],[200,6,216,13,"name"],[200,10,216,17],[201,6,216,19,"repeat"],[201,12,216,25],[202,6,216,27,"optional"],[203,4,216,36],[203,5,216,37],[204,2,217,0],[205,0,217,1],[205,3]],"functionMap":{"names":["<global>","isNotFoundRoute","uniqueBy","arr.filter$argument_0","getServerManifest","getFlatNodes","route.children.map$argument_0","getFlatNodes.sort$argument_0","flat.filter$argument_0","uniqueBy$argument_1","uniqueBy.map$argument_0","flat.find$argument_0","otherRoutes.filter$argument_0","getMatchableManifestForPaths","paths.map$argument_0","getNamedRouteRegex","buildGetSafeRouteKey","<anonymous>","removeTrailingSlash","getNamedParametrizedRoute","segments.map$argument_0","split.map$argument_0","escapeStringRegexp","parseParameter"],"mappings":"AAA;ACM;CDE;AEC;sBCE;KDO;CFC;AIE;ICC;sCCI,6CD;KDa;cGG,wDH;2CIE,qCJ,GK,gBL;6CIC;oGJC,GK,gBL;2CIC,0CJ,GK,gBL;aMC;sBCE,uED;KNG;0CIE,yCJ,GK,gBL;aMC;sBCE,sED;KNG;8CQE,wCR;8CQC,uCR;CJQ;AaC;qBCC;KDY;CbC;AeC;CfQ;AgBK;WCG;KDuB;ChBC;AkBC;ClBE;AmBC;iBCM;yBCmC,uBD;SDe;CnBI;AsBI;CtBM;AuBC;CvBa"},"hasCjsExports":true},"type":"js/module"}]} |