/* * Extracted from browser-delivered Turbopack chunk: 5d5b47876e53e564.da1ba52a93.js * Module id: 73465 * 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 }), Object.defineProperty(r, "getNextPathnameInfo", { enumerable: !0, get: function () { return i; }, }); let n = e.r(522741), o = e.r(702433), a = e.r(957872); function i(e, t) { let { basePath: r, i18n: i, trailingSlash: l } = t.nextConfig ?? {}, s = { pathname: e, trailingSlash: "/" !== e ? e.endsWith("/") : l }; r && (0, a.pathHasPrefix)(s.pathname, r) && ((s.pathname = (0, o.removePathPrefix)(s.pathname, r)), (s.basePath = r)); let c = s.pathname; if ( s.pathname.startsWith("/_next/data/") && s.pathname.endsWith(".json") ) { let e = s.pathname .replace(/^\/_next\/data\//, "") .replace(/\.json$/, "") .split("/"); (s.buildId = e[0]), (c = "index" !== e[1] ? `/${e.slice(1).join("/")}` : "/"), !0 === t.parseData && (s.pathname = c); } if (i) { let e = t.i18nProvider ? t.i18nProvider.analyze(s.pathname) : (0, n.normalizeLocalePath)(s.pathname, i.locales); (s.locale = e.detectedLocale), (s.pathname = e.pathname ?? s.pathname), !e.detectedLocale && s.buildId && (e = t.i18nProvider ? t.i18nProvider.analyze(c) : (0, n.normalizeLocalePath)(c, i.locales)).detectedLocale && (s.locale = e.detectedLocale); } return s; } }; export default moduleFactory;