{"version":3,"file":"script_main.C6WM2XlQ.mjs","names":["React.createElement","Template1","Framer.resolveInitialRouteContentState","Framer.setLibraryFeatures","Framer.setCurrentSiteId","Framer.patchRoutesForABTesting","Framer.PageRoot","Framer.lazy","Framer.useCurrentRoute","Framer.useLocaleInfo","Framer.useRouter","React.Fragment","React.memo","React.useCallback","React.useEffect","React.useRef","React.useState","React.useLayoutEffect","createPortal","Framer.LazyValue","Framer.GracefullyDegradingErrorBoundary","Framer.PageEffectsProvider","Framer.inferInitialRouteFromPath","Framer.yieldToMain","Framer.withPerformanceMarks","Framer.removeHiddenBreakpointLayersV2","React.startTransition","Framer.markHydrationStart","Framer.turnOffReactEventHandling","ReactDOM.hydrateRoot","Framer.loadLibraryCSSRules","ReactDOM.createRoot","Framer.ErrorPlaceholder","Framer.initLazyModulesCache","__esmMin","window","ee","le","x","te","init_ssg_sandbox_shims","init_npm_react_18_3_1","init_npm_react_dom_18_3_1","ce","H","Ha","ne","init_client","r","c","_e","de","navigator","inferInitialRouteFromPath","yieldToMain","lazy","initLazyModulesCache","withPerformanceMarks","useRouter","loadLibraryCSSRules","markHydrationStart","useLocaleInfo","PageRoot","ErrorPlaceholder","patchRoutesForABTesting","useCurrentRoute","LazyValue","turnOffReactEventHandling","removeHiddenBreakpointLayersV2","setCurrentSiteId","GracefullyDegradingErrorBoundary","init_framer_BWzg2IRg","resolveInitialRouteContentState","setLibraryFeatures","ResolveLinks","useSiteRefs","PageEffectsProvider","init_CKPZhBpO2","FramerCKPZhBpO2","Template","webPageId","children","style","rest","props1","props2","props3","props4","props5","props6","siteRef","props","\"mPjndNUq1\"","resolvedLinks","getLayoutTemplateBreakpoints","routeId","getInitialRouteContentState","pathVariables","localeId","initialRouteContentStatePromise","routes","locales","collectionUtils","getPageRoot","canonicalPathVariables","collectionItemId","contentLocaleId","shouldResolveInitialRouteContentState","framerSiteId","pageRoutes","isBrowser","rootPreload","route","contentState","content","serverDatabaseClient","isBot","createEditorBar","contentWithGracefullyDegradingErrorBoundary","page","track","main","shouldHydrate","container","handleError","error","errorInfo","recoverable","componentStack","breakpoints","routeData","\"framerHydrateV2\"","serverRoute","key","value","pagePromise","framerLocale","id","resolvedDateTimeOptions","timezone","locale","resolve","cb","init_main","\"utils\"","packageAndFilename","exportIdentifier"],"sources":["framer:toplevel/main"],"sourcesContent":["\r\n\t\timport * as Framer from \"framer\";\r\nimport { ResolveLinks, useSiteRefs } from \"framer\";\r\nimport * as React from \"react\";\r\nimport { createPortal } from \"react-dom\";\r\nimport * as ReactDOM from \"react-dom/client\";\r\nimport Template1 from \"https://framerusercontent.com/modules/4B4XqLX6xcPQNHErgJiS/v1STVUnTrebesf5Q4dMB/CKPZhBpO2.js\";\r\n\r\n\t\tconst routes = {gXcL0qqw_: {elements: {D12KMbWN8: \"work\", f7PXSQk7J: \"services\", hREoeFWJK: \"rehabilitaciones\", kkhKSjarz: \"iglesias\", lQH8c0caC: \"process\", ofwToYQ0O: \"spacer\", ucMfrh6SM: \"about\", xNlmmI93z: \"reformas\", ZCXyeORO4: \"construccion\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/lnmJD7dacC0OGAUr0NsD/9F0madcrvEu7qUXSODXc/gXcL0qqw_.js\")), path: \"/\"}, EgJhPnyob: {elements: {bCdIi6jTl: \"portfolio-5\", BI22Bf1I7: \"portfolio-2\", Bi8gW54y3: \"portfolio-1\", bS0HbyCCG: \"portfolio\", oyNvSEryj: \"portfolio-3\", qTLwussby: \"portfolio-4\", uL8YL6BIh: \"portfolio-6\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/8n99cMEBj1QWMwgmOg3q/AAWvSZbF1QAEQKWfq3xd/EgJhPnyob.js\")), path: \"/proyectos\"}, uzIsYfX4I: {elements: {bvyxxJ1yB: \"contact-map\", Fh4xP1vEV: \"header\", IeIi9yldR: \"contact-phone\", lBRw5DsIF: \"contact-email\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/bWCNJg2fO1nWO51lz8Rm/enu3apbl40ddHolFZe8a/uzIsYfX4I.js\")), path: \"/contacto\"}, MuKH4C2mt: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/cqsp5EnIPyTe3uVcz10a/JeJxDqOJN5CV5lOSYWJu/MuKH4C2mt.js\")), path: \"/404\"}, FlDc0eHux: {elements: {hiRwvzEQs: \"mission\", mfDOzyBtg: \"header-1\", naHtrvn2k: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/klhRfEG6yB1uOA5LL95K/tQE434nhceS7jRw2i6oE/FlDc0eHux.js\")), path: \"/nosotros\"}, h6n7AZL_r: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/azUvNryRjDQzVojjb7Lc/V1rce74dbzH8zNgE77eY/h6n7AZL_r.js\")), path: \"/politica-de-privacidad\"}, n5AGNyRWA: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/qudnZF9PNCOI0HeILBnC/fMzLVbT7Ud0JyYbhtj4g/n5AGNyRWA.js\")), path: \"/aviso-legal\"}, ssk44gYPb: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/o2mw4T4RHvKAHAEY5GpP/BXC0gioPsbSFr5IwEPxL/ssk44gYPb.js\")), path: \"/politica-cookies\"}, nldn9zLRz: {elements: {lheB3p3tS: \"servicio-02\", nl44hK6HS: \"servicio-04\", rD2pv0tcg: \"servicio-03\", RRV0dDMmz: \"servicio-01\", WEMEZBDqN: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/8eaDEENdjhveAM3KnLI2/S0y7Z3IeUcZX53CnxOby/nldn9zLRz.js\")), path: \"/servicios\"}, mPf6290Uj: {collectionId: \"bkr_kxSzM\", elements: {bxp8Bg_OY: \"portfolio-details\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/kdXVxTNylE6j3wGgTkAn/uHogX2zeRV7eyPe0Etyn/mPf6290Uj.js\")), path: \"/proyectos/:A29n_ERgj\"}, UXEy6XZzL: {collectionId: \"T8htjgO4o\", elements: {AWbiiM22f: \"services-details\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/CkDk9CGGCA1ki02vnxgl/ZSJoUZ1ISuSv6sEFCvTm/UXEy6XZzL.js\")), path: \"/servicios/:DKulYKAN0\"}}\r\n\r\n\t\tconst locales = [{code: \"es\", id: \"default\", name: \"Spanish\", slug: \"\", textDirection: \"ltr\"}]\r\n\t\tconst collectionUtils = {bkr_kxSzM: async () => (await import(\"https://framerusercontent.com/modules/kG3BTpmPwARY7OKgV0Ks/Ja8xOw03C36rWoIJ7ti2/bkr_kxSzM.js\"))?.[\"utils\"], T8htjgO4o: async () => (await import(\"https://framerusercontent.com/modules/jwsIhkkEQffuJhoHdaJJ/nFcWNiZpdTWztVuBf7Er/T8htjgO4o.js\"))?.[\"utils\"]}\r\n\t\tconst serverDatabaseClient = undefined\r\n\t\tconst framerSiteId = \"7530ebfae038adaa8e080955b0b5d30bf451212fd34d1f9bb39cee96f2f84bfe\"\r\n\t\tfunction Template({webPageId, children, style, ...rest}) {const props1 = {LvdnJtAGY: \"SCaHNrypm\", mPjndNUq1: {href: {hash: \":ofwToYQ0O\", webPageId: \"gXcL0qqw_\"}, refKey: true}}\r\nconst props2 = {...props1, LvdnJtAGY: \"jGBWdW2Cj\", mPjndNUq1: undefined}\r\nconst props3 = {...props1, LvdnJtAGY: \"jGBWdW2Cj\", mPjndNUq1: {href: {hash: \":Fh4xP1vEV\", webPageId: \"uzIsYfX4I\"}, refKey: true}}\r\nconst props4 = {...props1, LvdnJtAGY: \"jGBWdW2Cj\", mPjndNUq1: {href: {hash: \":mfDOzyBtg\", webPageId: \"FlDc0eHux\"}, refKey: true}}\r\nconst props5 = {...props1, mPjndNUq1: undefined}\r\nconst props6 = {...props1, LvdnJtAGY: \"jGBWdW2Cj\", mPjndNUq1: {href: {hash: \":WEMEZBDqN\", webPageId: \"nldn9zLRz\"}, refKey: true}}\r\nconst siteRef = useSiteRefs()\r\nconst templateProps = {EgJhPnyob: props2, FlDc0eHux: props4, gXcL0qqw_: props1, h6n7AZL_r: props2, mPf6290Uj: props2, MuKH4C2mt: props2, n5AGNyRWA: props2, nldn9zLRz: props6, ssk44gYPb: props5, UXEy6XZzL: props2, uzIsYfX4I: props3}\r\nconst props = templateProps[webPageId] ?? {}\r\nswitch (webPageId) {case \"gXcL0qqw_\":\r\ncase \"EgJhPnyob\":\r\ncase \"uzIsYfX4I\":\r\ncase \"MuKH4C2mt\":\r\ncase \"FlDc0eHux\":\r\ncase \"h6n7AZL_r\":\r\ncase \"n5AGNyRWA\":\r\ncase \"ssk44gYPb\":\r\ncase \"nldn9zLRz\":\r\ncase \"mPf6290Uj\":\r\ncase \"UXEy6XZzL\":\r\nreturn React.createElement(ResolveLinks, {links: [props[\"mPjndNUq1\"]]}, (resolvedLinks) => React.createElement(Template1, {...props, key: \"Template1\", mPjndNUq1: siteRef(resolvedLinks[0]), style}, children(true)));\r\ndefault: { return children(false) }}}\r\nexport function getLayoutTemplateBreakpoints(routeId) {switch (routeId) {case \"gXcL0qqw_\":\r\ncase \"EgJhPnyob\":\r\ncase \"uzIsYfX4I\":\r\ncase \"MuKH4C2mt\":\r\ncase \"FlDc0eHux\":\r\ncase \"h6n7AZL_r\":\r\ncase \"n5AGNyRWA\":\r\ncase \"ssk44gYPb\":\r\ncase \"nldn9zLRz\":\r\ncase \"mPf6290Uj\":\r\ncase \"UXEy6XZzL\":\r\nreturn [{hash: \"11girq0\", mediaQuery: \"(min-width: 1200px)\"}, {hash: \"1w0sd69\", mediaQuery: \"(min-width: 810px) and (max-width: 1199.98px)\"}, {hash: \"1079k3i\", mediaQuery: \"(max-width: 809.98px)\"}]\r\ndefault: { return undefined }}}\r\n\r\n\t\tconst isBrowser = typeof document !== \"undefined\"\r\n\t\tconst isBot = isBrowser && /bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(navigator.userAgent)\r\n\r\n\t\t\r\n\t\t\r\n\t\tlet initialRouteContentStatePromise\r\n\t\tfunction getInitialRouteContentState({ routeId, pathVariables, localeId }) {\r\n\t\t\tinitialRouteContentStatePromise ??= Framer.resolveInitialRouteContentState({\r\n\t\t\t\troutes,\r\n\t\t\t\trouteId,\r\n\t\t\t\tpathVariables,\r\n\t\t\t\tlocaleId,\r\n\t\t\t\tlocales,\r\n\t\t\t\tcollectionUtils,\r\n\t\t\t})\r\n\r\n\t\t\treturn initialRouteContentStatePromise\r\n\t\t}\r\n\t\r\n\r\n\t\texport async function getPageRoot({\r\n\t\t\trouteId,\r\n\t\t\tpathVariables,\r\n\t\t\tcanonicalPathVariables,\r\n\t\t\tlocaleId,\r\n\t\t\tcollectionItemId,\r\n\t\t\tcontentLocaleId,\r\n\t\t\tshouldResolveInitialRouteContentState = false,\r\n\t\t}) {\r\n\t\t\tFramer.setLibraryFeatures({checkServerSideRouter: true, disableCustomCode: false, disableHoverOnMobile: false, editorBarDisableFrameAncestorsSecurity: false, motionDivToDiv: false, scrollRestoration: true, synchronousNavigationOnDesktop: false, yieldOnTap: false})\r\n\t\t\tFramer.setCurrentSiteId(framerSiteId)\r\n\r\n\t\t\tconst pageRoutes = !isBrowser && routes[routeId].abTestingParentId ? { ...routes } : routes\r\n\t\t\tif (pageRoutes !== routes) Framer.patchRoutesForABTesting(pageRoutes, routeId)\r\n\r\n\t\t\tconst rootPreload = routes[routeId].page.preload()\r\n\r\n\t\t\t\r\n\t\t\tconst route = routes[routeId]\r\n\t\t\tif (shouldResolveInitialRouteContentState && collectionItemId === undefined && route.collectionId) {\r\n\t\t\t\tconst contentState = await getInitialRouteContentState({ routeId, pathVariables, localeId })\r\n\t\t\t\tcontentLocaleId ??= contentState.contentLocaleId\r\n\t\t\t\tcanonicalPathVariables ??= contentState.canonicalPathVariables\r\n\t\t\t}\r\n\t\t\r\n\r\n\t\t\tconst content = React.createElement(\r\n\t\t\t\tFramer.PageRoot,\r\n\t\t\t\t{\r\n\t\t\t\t\tisWebsite: true,\r\n\t\t\t\t\tenvironment: \"site\",\r\n\t\t\t\t\trouteId,\r\n\t\t\t\t\tpathVariables,\r\n\t\t\t\t\tcanonicalPathVariables,\r\n\t\t\t\t\troutes: pageRoutes,\r\n\t\t\t\t\tcollectionUtils,\r\n\t\t\t\t\tserverDatabaseClient,\r\n\t\t\t\t\tframerSiteId,\r\n\t\t\t\t\tnotFoundPage: Framer.lazy(() => import(\"https://framerusercontent.com/modules/cqsp5EnIPyTe3uVcz10a/JeJxDqOJN5CV5lOSYWJu/MuKH4C2mt.js\")),\r\n\t\t\t\t\tisReducedMotion: true,\r\n\t\t\t\t\tlocaleId,\r\n\t\t\t\t\tlocales,\r\n\t\t\t\t\tpreserveQueryParams: undefined,\r\n\t\t\t\t\tsiteCanonicalURL: \"https://www.surrenta.es\",\r\n\t\t\t\t\tEditorBar: \r\n\t\t\ttypeof window !== \"undefined\" ? (() => {\r\n\t\t\t\tif (isBot) {\r\n\t\t\t\t\tconsole.log(\"[Framer On-Page Editing] Unavailable because navigator is bot\")\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn Framer.lazy(async () => {\r\n\t\t\t\t\tconst dependencies = {\r\n\t\t\t\t\t\t__version: 3,\r\n\t\t\t\t\t\tframer: {\r\n\t\t\t\t\t\t\tuseCurrentRoute: Framer.useCurrentRoute,\r\n\t\t\t\t\t\t\tuseLocaleInfo: Framer.useLocaleInfo,\r\n\t\t\t\t\t\t\tuseRouter: Framer.useRouter,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\treact: {\r\n\t\t\t\t\t\t\tcreateElement: React.createElement,\r\n\t\t\t\t\t\t\tFragment: React.Fragment,\r\n\t\t\t\t\t\t\tmemo: React.memo,\r\n\t\t\t\t\t\t\tuseCallback: React.useCallback,\r\n\t\t\t\t\t\t\tuseEffect: React.useEffect,\r\n\t\t\t\t\t\t\tuseRef: React.useRef,\r\n\t\t\t\t\t\t\tuseState: React.useState,\r\n\t\t\t\t\t\t\tuseLayoutEffect: React.useLayoutEffect,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"react-dom\": { createPortal },\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\twindow.__framer_editorBarDependencies = dependencies\r\n\r\n\t\t\t\t\tconst { createEditorBar } = await import(\"https://framer.com/edit/init.mjs\")\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tdefault: createEditorBar(),\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t})() : undefined\r\n\t\t,\r\n\t\t\t\t\tadaptLayoutToTextDirection: false,\r\n\t\t\t\t\tLayoutTemplate: Template,\r\n\t\t\t\t\tloadSnippetsModule: new Framer.LazyValue(() => import(\"https://framerusercontent.com/modules/qpTP1a6VOe8qwd1tzzWm/MJvzQZdpsAXzaVbWMSFd/snippets.js\")),\r\n\t\t\t\t\tinitialCollectionItemId: collectionItemId,\r\n\t\t\t\t\tinitialContentLocaleIdOverride: contentLocaleId,\r\n\t\t\t\t}\r\n\t\t\t)\r\n\r\n\t\t\tconst contentWithGracefullyDegradingErrorBoundary = React.createElement(Framer.GracefullyDegradingErrorBoundary, {\r\n\t\t\t\tchildren: content\r\n\t\t\t})\r\n\r\n\t\t\t\r\n\t\t\tconst page = React.createElement(Framer.PageEffectsProvider, {\r\n\t\t\t\tchildren: contentWithGracefullyDegradingErrorBoundary,\r\n\t\t\t\tvalue: {routes: {}}\r\n\t\t\t})\r\n\r\n\t\t\t// We don't want the initial render to immediately have to suspend.\r\n\t\t\tawait rootPreload\r\n\t\t\treturn page\r\n\t\t}\r\n\t\r\n\r\n\t\tif (isBrowser) {\r\n\t\t\t// Note: HTTPArchive also uses this function to detect Framer sites; see https://github.com/HTTPArchive/wappalyzer/blob/371a17583f74fd9171b9077f59a5619b24062891/src/technologies/f.json#L1722-L1748.\r\n\t\t\twindow.__framer_importFromPackage = (packageAndFilename, exportIdentifier) => () => {\r\n\t\t\t\treturn React.createElement(Framer.ErrorPlaceholder, { error: 'Package component not supported: \"' + exportIdentifier + '\" in \"' + packageAndFilename + '\"' })\r\n\t\t\t}\r\n\r\n\t\t\twindow.__framer_events = window.__framer_events || []\r\n\r\n\t\t\t// Initialize lazy modules cache for hydration\r\n\t\t\tFramer.initLazyModulesCache()\r\n\r\n\t\t\tconst container = document.getElementById(\"main\")\r\n\t\t\t// We know that #main is parsed before this script, so we don't need to wait for DOMContentLoaded or similar events.\r\n\t\t\tif (\"framerHydrateV2\" in container.dataset) main(true, container)\r\n\t\t\telse main(false, container)\r\n\t\t}\r\n\r\n\t\tfunction track() {\r\n\t\t\tif (!isBrowser) return\r\n\t\t\twindow.__framer_events.push(arguments)\r\n\t\t}\r\n\r\n\t\tasync function main(shouldHydrate, container) {\r\n\t\t\tfunction handleError(error, errorInfo, recoverable = true) {\r\n\t\t\t\tif (error.caught || window.__framer_hadFatalError) return // we already logged it\r\n\r\n\t\t\t\tconst componentStack = errorInfo?.componentStack\r\n\t\t\t\tif (recoverable) {\r\n\t\t\t\t\tconsole.warn(\"Caught a recoverable error. The site is still functional, but might have some UI flickering or degraded page load performance. If you are the author of this website, update external components and check recently added custom code or code overrides to fix the following server/client mismatches:\\n\", error, componentStack)\r\n\t\t\t\t\t// we only want to collect 1%, because this can be quite noisy (floods the data pipeline)\r\n\t\t\t\t\tif (Math.random() > 0.01) return\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconsole.error(\"Caught a fatal error. Please report the following to the Framer team via https://www.framer.com/contact/:\\n\", error, componentStack)\r\n\t\t\t\t}\r\n\t\t\t\ttrack(recoverable ? \"published_site_load_recoverable_error\" : \"published_site_load_error\", {\r\n\t\t\t\t\tmessage: String(error),\r\n\t\t\t\t\tcomponentStack, // componentStack is more useful\r\n\t\t\t\t\tstack: componentStack ? undefined : error instanceof Error && typeof error.stack === \"string\" ? error.stack : null,\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\t\t\ttry {\r\n\t\t\t\tlet routeId, localeId, contentLocaleId, pathVariables, canonicalPathVariables, breakpoints, routeData\r\n\t\t\t\tif (shouldHydrate) {\r\n\t\t\t\t\trouteData = JSON.parse(container.dataset[\"framerHydrateV2\"])\r\n\t\t\t\t\trouteId = routeData.routeId\r\n\t\t\t\t\tlocaleId = routeData.localeId\r\n\t\t\t\t\tcontentLocaleId = routeData.contentLocaleId\r\n\t\t\t\t\tpathVariables = routeData.pathVariables\r\n\t\t\t\t\tcanonicalPathVariables = routeData.canonicalPathVariables\r\n\t\t\t\t\tbreakpoints = routeData.breakpoints\r\n\r\n\t\t\t\t\trouteId = Framer.patchRoutesForABTesting(routes, routeId) // Prioritize optimized route id to avoid flickering in browsers not supporting the server-timing header (Safari older than 16.4)\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\r\n\t\t\t\t\tFramer.patchRoutesForABTesting(routes, undefined) // This must happen before inferInitialRouteFromPath\r\n\t\t\t\t\tconst serverRoute = performance.getEntriesByType(\"navigation\")[0]?.serverTiming?.find(e => e.name === \"route\")?.description\r\n\t\t\t\t\tif (serverRoute) {\r\n\t\t\t\t\t\tconst routeData = new URLSearchParams(serverRoute)\r\n\t\t\t\t\t\trouteId = routeData.get(\"id\")\r\n\t\t\t\t\t\tlocaleId = routeData.get(\"locale\")\r\n\t\t\t\t\t\tfor (const [key, value] of routeData.entries()) {\r\n\t\t\t\t\t\t\tif (!key.startsWith(\"var.\")) continue\r\n\t\t\t\t\t\t\tpathVariables ??= {}\r\n\t\t\t\t\t\t\tpathVariables[key.slice(4)] = value\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (!routeId || !localeId) {\r\n\t\t\t\t\t\tconst routeData = Framer.inferInitialRouteFromPath(routes, decodeURIComponent(location.pathname), true, locales)\r\n\t\t\t\t\t\trouteId = routeData.routeId\r\n\t\t\t\t\t\tlocaleId = routeData.localeId\r\n\t\t\t\t\t\tpathVariables = routeData.pathVariables\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconst pagePromise = getPageRoot({\r\n\t\t\t\t\trouteId,\r\n\t\t\t\t\tlocaleId,\r\n\t\t\t\t\tcontentLocaleId,\r\n\t\t\t\t\tpathVariables,\r\n\t\t\t\t\tcanonicalPathVariables,\r\n\t\t\t\t\tcollectionItemId: shouldHydrate ? routeData?.collectionItemId : undefined,\r\n\t\t\t\t\tshouldResolveInitialRouteContentState: !shouldHydrate,\r\n\t\t\t\t})\r\n\r\n\t\t\t\t\r\nif (typeof window !== \"undefined\") {\r\n\tvoid (async () => {\r\n\t\tconst route = routes[routeId]\r\n\r\n\t\tconst defaultLocaleId = \"default\"\r\n\t\tconst framerLocale = locales.find(({ id }) => !localeId ? id === defaultLocaleId : id === localeId).code\r\n\r\n\t\t\r\n\t\tlet collectionItemId\r\n\t\tif (routeData?.collectionItemId !== undefined) {\r\n\t\t\tcollectionItemId = routeData.collectionItemId\r\n\t\t} else if (route?.collectionId) {\r\n\t\t\t// `collectionItemId` is a separate promise so that `getPageRoot` never waits on it; analytics does.\r\n\t\t\tconst initialState = await getInitialRouteContentState({ routeId, pathVariables, localeId })\r\n\t\t\tcollectionItemId = await initialState.collectionItemId\r\n\t\t} else {\r\n\t\t\tcollectionItemId = null\r\n\t\t}\r\n\t\r\n\r\n\t\tconst resolvedDateTimeOptions = Intl.DateTimeFormat().resolvedOptions()\r\n\t\tconst timezone = resolvedDateTimeOptions.timeZone\r\n\t\tconst locale = resolvedDateTimeOptions.locale\r\n\r\n\t\t// wait for the page to be activated before sending the pageview event\r\n\t\t// https://developer.chrome.com/docs/web-platform/prerender-pages#impact-on-analytics\r\n\t\tawait new Promise((resolve) => {\r\n\t\t\tif (document.prerendering) {\r\n\t\t\t\tdocument.addEventListener(\"prerenderingchange\", resolve, { once: true })\r\n\t\t\t} else {\r\n\t\t\t\tresolve()\r\n\t\t\t}\r\n\t\t})\r\n\r\n\t\twindow.__framer_events.push([\r\n\t\t\t\"published_site_pageview\",\r\n\t\t\t{\r\n\t\t\t\tframerSiteId,\r\n\t\t\t\tversion: 2,\r\n\t\t\t\troutePath: route?.path || \"/\",\r\n\t\t\t\tcollectionItemId,\r\n\t\t\t\tframerLocale: framerLocale || null,\r\n\t\t\t\twebPageId: route?.abTestingVariantId ?? routeId,\r\n\t\t\t\tabTestId: route?.abTestId,\r\n\t\t\t\treferrer: document.referrer || null,\r\n\t\t\t\turl: window.location.href,\r\n\t\t\t\thostname: window.location.hostname || null,\r\n\t\t\t\tpathname: window.location.pathname || null,\r\n\t\t\t\thash: window.location.hash || null,\r\n\t\t\t\tsearch: window.location.search || null,\r\n\t\t\t\ttimezone,\r\n\t\t\t\tlocale,\r\n\t\t\t},\r\n\t\t\t\"eager\"\r\n\t\t])\r\n\r\n\t\t// Yield to avoid blocking the main thread with the user code\r\n\t\tawait Framer.yieldToMain({ priority: \"background\", ensureContinueBeforeUnload: true, continueAfter: \"paint\" })\r\n\r\n\t\tdocument.dispatchEvent(new CustomEvent(\"framer:pageview\", {\r\n\t\t\tdetail: { framerLocale: framerLocale || null, abTestId: route?.abTestId, abTestingVariantId: route?.abTestingVariantId, abTestingVariantName: route?.abTestingVariantName, webPageId: routeId }\r\n\t\t}))\r\n\t})()\r\n}\r\n\r\n\r\n\t\t\t\tconst page = await pagePromise\r\n\t\t\t\tif (shouldHydrate) {\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\tFramer.withPerformanceMarks(\"framer-rewrite-breakpoints\", () => {\r\n\t\t\t\t\t\tFramer.removeHiddenBreakpointLayersV2(breakpoints)\r\n\t\t\t\t\t\twindow.__framer_onRewriteBreakpoints?.(breakpoints)\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\tconst startTransition = isBot ? cb => cb() : React.startTransition\r\n\t\t\t\t\tstartTransition(() => {\r\n\t\t\t\t\t\tFramer.markHydrationStart()\r\n\t\t\t\t\t\tFramer.turnOffReactEventHandling()\r\n\t\t\t\t\t\tReactDOM.hydrateRoot(container, page, { onRecoverableError: handleError })\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\r\n\t\t\t\t\tawait Framer.loadLibraryCSSRules()\r\n\t\t\t\t\tReactDOM.createRoot(container, { onRecoverableError: handleError }).render(page)\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\thandleError(error, undefined, false)\r\n\t\t\t\tthrow error\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\r\n\r\n\t\t\r\n\t"],"mappings":"A,yeAcE,SAAS+E,EAAS,CAACC,YAAWC,WAAUC,QAAO,GAAGC,GAAO,CAAC,IAAMC,EAAS,CAAC,UAAW,YAAa,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,CAAC,EAC3KC,EAAS,CAAC,GAAGD,EAAQ,UAAW,YAAa,UAAW,IAAA,EAAS,EACjEE,EAAS,CAAC,GAAGF,EAAQ,UAAW,YAAa,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,CAAC,EAC1HG,EAAS,CAAC,GAAGH,EAAQ,UAAW,YAAa,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,CAAC,EAC1HI,EAAS,CAAC,GAAGJ,EAAQ,UAAW,IAAA,EAAS,EACzCK,EAAS,CAAC,GAAGL,EAAQ,UAAW,YAAa,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,CAAC,EAC1HM,EAAUf,EAAY,EAEtBgB,EAAQ,CADS,UAAWN,EAAQ,UAAWE,EAAQ,UAAWH,EAAQ,UAAWC,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWI,EAAQ,UAAWD,EAAQ,UAAWH,EAAQ,UAAWC,CACtM,EAAEN,IAAc,CAAC,EAC3C,OAAQA,EAAR,CAAoB,IAAK,YACzB,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK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