/* * Extracted from browser-delivered Turbopack chunk: 5d5b47876e53e564.da1ba52a93.js * Module id: 276441 * For reading/searching only; this factory depends on the original Turbopack runtime. */ const moduleFactory = (e, t, r) => { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }); var n = { isInterceptionAppRoute: function () { return u; }, isNormalizedAppRoute: function () { return c; }, parseAppRoute: function () { return function e(t, r) { let n, o, i, l = t.split("/").filter(Boolean), c = []; for (let u of l) { let l = s(u); if (l) { if ( r && ("route-group" === l.type || "parallel-route" === l.type) ) throw Object.defineProperty( new a.InvariantError( `${t} is being parsed as a normalized route, but it has a route group or parallel route segment.`, ), "__NEXT_ERROR_CODE", { value: "E923", enumerable: !1, configurable: !0 }, ); if ((c.push(l), l.interceptionMarker)) { let a = t.split(l.interceptionMarker); if (2 !== a.length) throw Object.defineProperty( Error(`Invalid interception route: ${t}`), "__NEXT_ERROR_CODE", { value: "E924", enumerable: !1, configurable: !0 }, ); (o = r ? e(a[0], !0) : e(a[0], !1)), (i = r ? e(a[1], !0) : e(a[1], !1)), (n = l.interceptionMarker); } } } let u = c.filter((e) => "dynamic" === e.type); return { normalized: r, pathname: t, segments: c, dynamicSegments: u, interceptionMarker: n, interceptingRoute: o, interceptedRoute: i, }; }; }, parseAppRouteSegment: function () { return s; }, }; for (var o in n) Object.defineProperty(r, o, { enumerable: !0, get: n[o] }); let a = e.r(498775), i = e.r(446971), l = e.r(617286); function s(e) { if ("" === e) return null; let t = l.INTERCEPTION_ROUTE_MARKERS.find((t) => e.startsWith(t)), r = (0, i.getSegmentParam)(e); return r ? { type: "dynamic", name: e, param: r, interceptionMarker: t } : e.startsWith("(") && e.endsWith(")") ? { type: "route-group", name: e, interceptionMarker: t } : e.startsWith("@") ? { type: "parallel-route", name: e, interceptionMarker: t } : { type: "static", name: e, interceptionMarker: t }; } function c(e) { return e.normalized; } function u(e) { return ( void 0 !== e.interceptionMarker && void 0 !== e.interceptingRoute && void 0 !== e.interceptedRoute ); } }; export default moduleFactory;