{"version":3,"file":"script_main.CorPNcgv.mjs","names":["React.createElement","Main","Framer.PageRoot","Framer.lazy","Framer.useCurrentRoute","Framer.useLocaleInfo","Framer.useRouter","React.Fragment","React.memo","React.useCallback","React.useEffect","React.useRef","React.useState","React.useLayoutEffect","Framer.LazyValue","Framer.GracefullyDegradingErrorBoundary","Framer.PageEffectsProvider","Framer.patchRoutesForABTesting","Framer.inferInitialRouteFromPath","Framer.yieldToMain","React.startTransition","Framer.loadLibraryCSSRules","Framer.ErrorPlaceholder","__esmMin","window","ee","le","x","te","init_ssg_sandbox_shims","init_npm_react_18_3_1","Ha","ce","H","ne","init_client","init_npm_react_dom_18_3_1","c","_e","de","navigator","initLazyModulesCache","init_framer_B6PCHH0A","patchRoutesForABTesting","inferInitialRouteFromPath","markHydrationStart","loadLibraryCSSRules","PageRoot","ErrorPlaceholder","useCurrentRoute","removeHiddenBreakpointLayersV2","LazyValue","useLocaleInfo","setLibraryFeatures","yieldToMain","withPerformanceMarks","turnOffReactEventHandling","GracefullyDegradingErrorBoundary","lazy","setCurrentSiteId","useRouter","PageEffectsProvider","init_FiH4zVC_N","FramerFiH4zVC_N","Template","rest","props1","props","webPageId","children","getLayoutTemplateBreakpoints","routeId","getPageRoot","framerSiteId","rootPreload","routes","content","isBot","createEditorBar","collectionItemId","contentLocaleId","contentWithGracefullyDegradingErrorBoundary","page","track","isBrowser","main","handleError","error","componentStack","errorInfo","recoverable","localeId","pathVariables","canonicalPathVariables","breakpoints","routeData","shouldHydrate","container","\"framerHydrateV2\"","serverRoute","key","value","locales","pagePromise","route","framerLocale","id","collectionUtils","utils","slug","resolvedDateTimeOptions","timezone","locale","resolve","cb","r","serverDatabaseClient","init_main","\"utils\"","exportIdentifier","packageAndFilename"],"sources":["framer:toplevel/main"],"sourcesContent":["\r\n\t\timport * as Framer from \"framer\";\r\nimport * as React from \"react\";\r\nimport { createPortal } from \"react-dom\";\r\nimport * as ReactDOM from \"react-dom/client\";\r\nimport Main from \"https://framerusercontent.com/modules/byLeWofO1BPDkba89orT/exjk6z7alMZpY4UxWMCs/FiH4zVC_N.js\";\r\n\r\n\t\tconst routes = {augiA20Il: {elements: {GtUekeP2E: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/p03VG3tjAryJZkJS6mBd/vpiML5U0cwb1qXirErAl/augiA20Il.js\")), path: \"/\"}, QIvIg1pDR: {elements: {h16gF3FsY: \"header\", QzKjrBM_a: \"plan-whats-on-row\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/rYhcNVIrKZYOPKBV8ka5/Xde3UvHHHxH5fgM0fSbn/QIvIg1pDR.js\")), path: \"/guides\"}, yUaVYODfp: {elements: {YaEGeqnKj: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/FwrrhkFtGXGRYPGf3jJ0/vOQIilXw5lhkjCDRiimh/yUaVYODfp.js\")), path: \"/where-to-stay\"}, EIYiOJGqX: {elements: {fyVCF7w0n: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/cTW1zB247qpC7GVdwU8u/FNFwSpdWpQaIXCMRjgcI/EIYiOJGqX.js\")), path: \"/attractions\"}, gYg4k5GcV: {elements: {WfbwKGcHh: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/azsYIzaq6oPeTOHsUWFp/xLrkZJB95HV70mQFb3jg/gYg4k5GcV.js\")), path: \"/getting-around\"}, yrItLyDtT: {elements: {QRHPUOzZl: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/S94KMtq2mSc7sFQWInrp/4lsou56RRCQzPBeSmJ5t/yrItLyDtT.js\")), path: \"/whats-on\"}, I_JvSIiL9: {elements: {vHcjCz2Nb: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/a2r4G194yiCYCLY0zCeV/cxhiX43sxPT6i3W2JNM7/I_JvSIiL9.js\")), path: \"/christmas-with-kids\"}, YC0PMrlNC: {elements: {Q58TVFjdj: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/9DIkoqhCtm9wkPA45fob/RSDcEqchgltpSA9QBP1h/YC0PMrlNC.js\")), path: \"/tours\"}, VrJ5cgDBw: {elements: {PVsP1AmPX: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/Zsg85EAayj6r5com0bAJ/cWrPgBnDzsUoktC7qW9c/VrJ5cgDBw.js\")), path: \"/legal-notice\"}, AqOGVKuOe: {elements: {REuquAKVf: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/5yDCXBRFVymb209VGW3I/luS6GA7XT8mR6q5m5Hlf/AqOGVKuOe.js\")), path: \"/cookie-policy\"}, lk8Gc7YEW: {elements: {p2U3F5WtZ: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/limxQv7nNYatnXQPoFcW/bwscPxTzwplwSkz4MIM1/lk8Gc7YEW.js\")), path: \"/contact\"}, iBEc_jYU9: {elements: {cJvjnF1pd: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/l1xyXWhSo42fYWbePPiy/PJkFDk6NSGsK8JOLUhHY/iBEc_jYU9.js\")), path: \"/404\"}, kvPfbvEsS: {collectionId: \"YplM9Oh5t\", elements: {bHVZRZCmW: \"explore-attractions-row\", wcghfpIv6: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/41AxpdkGpnJ65GO7ApyH/QUqhuWxylVX7bMlKjgSQ/kvPfbvEsS.js\")), path: \"/attractions/:ofhaSvlNl\"}, b94y987Nw: {collectionId: \"Si_EbDD3X\", elements: {XOivGs92t: \"event-whats-on-row\", YXbbOGFXP: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/r8YxLWzmqWvP0s8n0OHK/GkYxcWzKwp9hiZnihqJS/b94y987Nw.js\")), path: \"/whats-on/:YnBqFDz9o\"}, d8PLPp0Ig: {collectionId: \"kHv53IYS7\", elements: {Dy3eMbkD6: \"more-guides-row\", rGLPi8NSf: \"content\", u7TfMGvn0: \"header\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/NXIu3uR4CQb9lZAoQLdg/J2N2IMwPddjiRpOmY3ik/d8PLPp0Ig.js\")), path: \"/all-guides/:FmeplANUr\"}}\r\n\r\n\t\tconst locales = [{code: \"en\", id: \"default\", name: \"English\", slug: \"\", textDirection: \"ltr\"}]\r\n\t\tconst collectionUtils = {kHv53IYS7: async () => (await import(\"https://framerusercontent.com/modules/u7V0nPKreT2CopfpIIA5/jRjpGz4Nz3WjWR11gZZY/kHv53IYS7.js\"))?.[\"utils\"], Si_EbDD3X: async () => (await import(\"https://framerusercontent.com/modules/dqu8qB13nlFrAR8d6icL/wP1E6aWmNI9SWs6OZH4p/Si_EbDD3X.js\"))?.[\"utils\"], YplM9Oh5t: async () => (await import(\"https://framerusercontent.com/modules/xgwxNxKiQDisht0riAZb/XpQCDrrDQV6xOw11N81O/YplM9Oh5t.js\"))?.[\"utils\"]}\r\n\t\tconst serverDatabaseClient = undefined\r\n\t\tconst framerSiteId = \"a4b931c18a1a44c61ee80c94d466b5472cfc6f99236d95dbe99a9500924bf903\"\r\n\t\tfunction Template({webPageId, children, style, ...rest}) {const props1 = {HXFXiIDLN: false, qmlfFsNjU: true, vjY571FcN: true}\r\nconst props2 = {...props1, qmlfFsNjU: false}\r\nconst templateProps = {AqOGVKuOe: props1, augiA20Il: props1, b94y987Nw: props1, d8PLPp0Ig: props1, EIYiOJGqX: props2, gYg4k5GcV: props1, I_JvSIiL9: props1, iBEc_jYU9: props1, kvPfbvEsS: props1, lk8Gc7YEW: props1, QIvIg1pDR: props1, VrJ5cgDBw: props1, YC0PMrlNC: props1, yrItLyDtT: props1, yUaVYODfp: props1}\r\nconst props = templateProps[webPageId] ?? {}\r\nswitch (webPageId) {case \"augiA20Il\":\r\ncase \"QIvIg1pDR\":\r\ncase \"yUaVYODfp\":\r\ncase \"EIYiOJGqX\":\r\ncase \"gYg4k5GcV\":\r\ncase \"yrItLyDtT\":\r\ncase \"I_JvSIiL9\":\r\ncase \"YC0PMrlNC\":\r\ncase \"VrJ5cgDBw\":\r\ncase \"AqOGVKuOe\":\r\ncase \"lk8Gc7YEW\":\r\ncase \"iBEc_jYU9\":\r\ncase \"kvPfbvEsS\":\r\ncase \"b94y987Nw\":\r\ncase \"d8PLPp0Ig\":\r\nreturn React.createElement(Main, {...props, key: \"Main\", style}, children(true));\r\ndefault: { return children(false) }}}\r\nexport function getLayoutTemplateBreakpoints(routeId) {switch (routeId) {case \"augiA20Il\":\r\ncase \"QIvIg1pDR\":\r\ncase \"yUaVYODfp\":\r\ncase \"EIYiOJGqX\":\r\ncase \"gYg4k5GcV\":\r\ncase \"yrItLyDtT\":\r\ncase \"I_JvSIiL9\":\r\ncase \"YC0PMrlNC\":\r\ncase \"VrJ5cgDBw\":\r\ncase \"AqOGVKuOe\":\r\ncase \"lk8Gc7YEW\":\r\ncase \"iBEc_jYU9\":\r\ncase \"kvPfbvEsS\":\r\ncase \"b94y987Nw\":\r\ncase \"d8PLPp0Ig\":\r\nreturn [{hash: \"h3rpwi\", mediaQuery: \"(min-width: 1280px)\"}, {hash: \"3fc561\", mediaQuery: \"(min-width: 992px) and (max-width: 1279.98px)\"}, {hash: \"j5dee0\", mediaQuery: \"(max-width: 991.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\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, onPageRichTextBlockSelection: true, scrollRestoration: true, synchronousNavigationOnDesktop: false, yieldOnTap: false})\r\n\t\t\tFramer.setCurrentSiteId(framerSiteId)\r\n\r\n\t\t\tconst rootPreload = routes[routeId].page.preload()\r\n\r\n\t\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,\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/l1xyXWhSo42fYWbePPiy/PJkFDk6NSGsK8JOLUhHY/iBEc_jYU9.js\")),\r\n\t\t\t\t\tisReducedMotion: undefined,\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://barcelonaforkids.com\",\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: true,\r\n\t\t\t\t\tLayoutTemplate: Template,\r\n\t\t\t\t\tloadSnippetsModule: new Framer.LazyValue(() => import(\"https://framerusercontent.com/modules/zmCp1hchVxrCLoXPazxQ/sn0Z913Zv6UpbBlTKyfg/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 = routeData?.collectionItemId ?? null\r\n\t\tif (collectionItemId === null && route?.collectionId && collectionUtils) {\r\n\t\t\tconst utils = await collectionUtils[route.collectionId]?.()\r\n\t\t\tconst [slug] = Object.values(pathVariables)\r\n\t\t\tif (utils && typeof slug === \"string\") {\r\n\t\t\t\tcollectionItemId = (await utils.getRecordIdBySlug(slug, framerLocale || undefined)) ?? null\r\n\t\t\t}\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 }\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,4cAaE,SAASgE,EAAS,CAAC,YAAW,WAAU,QAAO,GAAGC,GAAO,CAAC,IAAMC,EAAS,CAAC,UAAW,GAAO,UAAW,GAAM,UAAW,EAAI,EAGxHC,EAAQ,CADS,UAAWD,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAW,CAD9F,GAAGA,EAAQ,UAAW,EAC6E,EAAG,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,EAAQ,UAAWA,CAClR,EAAEE,IAAc,CAAC,EAC3C,OAAQA,EAAR,CAAoB,IAAK,YACzB,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,OAAOpE,EAAoBC,EAAM,CAAC,GAAGkE,EAAO,IAAK,OAAQ,OAAK,EAAGE,EAAS,EAAI,CAAC,EAC/E,QAAW,OAAOA,EAAS,EAAK,CAAG,CAAC,CACpC,SAAgBC,EAA6B,EAAS,CAAC,OAA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