import { A as p, B as i, C as y, D as _, E as F, F as k, H as v, J as b, L as E, Z as P, aa as I, c, f as h, ja as w, ua as S, y as g, } from "./chunk-YK6GNT7F.mjs"; import "./chunk-JR5VT52U.mjs"; import { c as t } from "./chunk-RIUMFBNJ.mjs"; var L = "default" in p ? g : p, l = {}, V = L; l.createRoot = V.createRoot; l.hydrateRoot = V.hydrateRoot; var M = l.createRoot, x = l.hydrateRoot; var u = { VMh0meZBp: { elements: {}, page: i(() => import("./1ys-pkqzojCwuvL5O9xB9E2CQ-NrzhJmNzWWWHvNsJA.HDBTJNWH.mjs") ), path: "/", }, El2_dmCdk: { elements: {}, page: i(() => import("./_44pPMQxYUqkoRl4A4SswLzxn17fHULbIAvOhwfCt8Q.5RZAQCS2.mjs") ), path: "/iago", }, djFfcczZm: { elements: {}, page: i(() => import("./Hjf18WtQ7emHjZGVUlUiMuNo-ZoQN61gBTwHUivaNUs.QFKUXNS6.mjs") ), path: "/test", }, }, z = [{ code: "en", id: "default", name: "English", slug: "" }]; async function C({ routeId: a, pathVariables: o, localeId: r }) { await u[a].page.preload(); let n = c(I, { isWebsite: !0, routeId: a, pathVariables: o, routes: u, collectionUtils: {}, framerSiteId: "7b8b30f9a36045e769a1840b9f97537f677932b851434ec88a4e99398a7c8d40", notFoundPage: i(() => import("./SitesNotFoundPage.js@1.1-GRDDKRIE.mjs")), isReducedMotion: void 0, localeId: r, locales: z, preserveQueryParams: void 0, }), s = c(P, { children: n, value: { enableAsyncURLUpdates: !0, replaceNestedLinks: !0, useGranularSuspense: !0, wrapUpdatesInTransitions: !1, }, }); return c(y, { children: s, value: { routes: {} } }); } var B = typeof document < "u"; if (B) { (t.__framer_importFromPackage = (o, r) => () => c(b, { error: 'Package component not supported: "' + r + '" in "' + o + '"', })), (t.process = { ...t.process, env: { ...(t.process ? t.process.env : void 0), NODE_ENV: "production" }, }), (t.__framer_events = t.__framer_events || []), E(); let a = document.getElementById("main"); "framerHydrateV2" in a.dataset ? O(!0, a) : O(!1, a); } function D() { B && t.__framer_events.push(arguments); } async function O(a, o) { try { let R = function (e, H) { let m = H?.componentStack; console.warn( "Recoverable error during hydration. Please check any custom code or code overrides to fix server/client mismatches.", e, m ), !(Math.random() > 0.01) && D("published_site_load_recoverable_error", { message: String(e), componentStack: m, stack: m ? void 0 : e instanceof Error && typeof e.stack == "string" ? e.stack : null, }); }, r, n, s, d; if (a) { let e = JSON.parse(o.dataset.framerHydrateV2); (r = e.routeId), (n = e.localeId), (s = e.pathVariables), (d = e.breakpoints); } else { let e = v(u, decodeURIComponent(location.pathname), !0, z); (r = e.routeId), (n = e.localeId), (s = e.pathVariables); } let f = await C({ routeId: r, localeId: n, pathVariables: s }); a ? (S("framer-rewrite-breakpoints", () => { w(d), t.__framer_onRewriteBreakpoints?.(d); }), h(() => { _(), k(), F(), x(o, f, { onRecoverableError: R }); })) : M(o, { onRecoverableError: R }).render(f); } catch (r) { throw ( (D("published_site_load_error", { message: String(r), stack: r instanceof Error && typeof r.stack == "string" ? r.stack : null, }), r) ); } } export { C as getPageRoot }; //# sourceMappingURL=script_main.EB4FSSA5.mjs.map