{"version":3,"file":"script_main.Dkl50dOx.mjs","names":["React.createElement","NewNavigation","Framer.resolveInitialRouteContentState","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","ne","navigator","init_npm_react_18_3_1","te","x","le","ee","window","_e","init_npm_react_dom_18_3_1","de","H","Ha","init_client","c","ce","init_ssg_sandbox_shims","useRouter","inferInitialRouteFromPath","lazy","initLazyModulesCache","withPerformanceMarks","yieldToMain","loadLibraryCSSRules","markHydrationStart","ErrorPlaceholder","setLibraryFeatures","patchRoutesForABTesting","GracefullyDegradingErrorBoundary","LazyValue","useCurrentRoute","removeHiddenBreakpointLayersV2","init_framer_DxfB3JJo","resolveInitialRouteContentState","setCurrentSiteId","turnOffReactEventHandling","PageEffectsProvider","useLocaleInfo","PageRoot","init_R4vK5iv6t","FramerR4vK5iv6t","Template","rest","props","webPageId","children","getLayoutTemplateBreakpoints","routeId","getInitialRouteContentState","initialRouteContentStatePromise","getPageRoot","framerSiteId","pageRoutes","isBrowser","routes","rootPreload","route","shouldResolveInitialRouteContentState","collectionItemId","contentState","content","isBot","createEditorBar","contentLocaleId","contentWithGracefullyDegradingErrorBoundary","page","track","main","handleError","error","componentStack","errorInfo","recoverable","localeId","pathVariables","canonicalPathVariables","breakpoints","routeData","shouldHydrate","container","\"framerHydrateV2\"","serverRoute","key","value","locales","pagePromise","framerLocale","id","resolvedDateTimeOptions","timezone","locale","resolve","cb","r","collectionUtils","serverDatabaseClient","init_main","\"utils\"","exportIdentifier","packageAndFilename"],"sources":["framer:toplevel/main"],"sourcesContent":["\n\t\timport * as Framer from \"framer\";\nimport * as React from \"react\";\nimport { createPortal } from \"react-dom\";\nimport * as ReactDOM from \"react-dom/client\";\nimport NewNavigation from \"https://framerusercontent.com/modules/9hYC9dpBX4ZPj1cYqvj7/hwq0kND4FVTZbXrz7n0e/R4vK5iv6t.js\";\n\n\t\tconst routes = {uCV1oxivx: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/TWzb5hxUqZ0hrMpC8OTi/hhZfxZBgYfkyRfsBia5M/uCV1oxivx.js\")), path: \"/\"}, w_AO2uk8B: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/HxDOE3bMyNNyc8ocwPQs/GZJWYZE23VDJlOlyIk1V/w_AO2uk8B.js\")), path: \"/contact\"}, YiEEWBGmj: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/g94Pqj2hlXEaJrRF3XuH/U1yybf2EMuy6jEI1Mdbw/YiEEWBGmj.js\")), path: \"/clinician-sharing\"}, vq4rBnv2c: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/kbY5cSWzBiPjKW1iVmjh/F4Ie1BoSPV50c3XOmqIj/vq4rBnv2c.js\")), path: \"/about\"}, VqrFpKRbn: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/lsRPly80lhyQnTJqH4qG/wU54ixFqyQHzWGjJxkHJ/VqrFpKRbn.js\")), path: \"/press\"}, mwKVoYx1o: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/EqH7Opp0qwhYFuUXRz9X/9WVkL6nJCDl46S2Z8N0V/mwKVoYx1o.js\")), path: \"/stories\"}, X_NF5xrlL: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/sToeFl8rLTGRL9h5QdH3/rnqMN12jkHGLUgRnnjXf/X_NF5xrlL.js\")), path: \"/tryrest\"}, s9cWXr9jd: {elements: {vs5kZ1Akj: \"form\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/iNOWqHNYIIaVk9JmMuGN/ASOZmhcNruRASaVUWKzb/s9cWXr9jd.js\")), path: \"/for-clinicians\"}, xlf1xRpWO: {elements: {ADBlG2C7A: \"form\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/dHihmw9bBI3tBSdFL2IR/so9KS3HUkmaA6FoVeMfU/xlf1xRpWO.js\")), path: \"/for-companies\"}, MLGxp7tL6: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/A0Cvvl1Ff8wDzElUApxG/jl3clauXp2doSCxNGHnA/MLGxp7tL6.js\")), path: \"/checkout-2\"}, FUThV5_Ue: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/D20cxsXQrVgaga48ba2C/25lZhuLL4cI1W6QFu5hr/FUThV5_Ue.js\")), path: \"/blog\"}, uHCxmCygB: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/7UqkkNPbOE9lykbv7b22/9Pn7S4rjGV8aZNiC56uw/uHCxmCygB.js\")), path: \"/404\"}, gWT4W147c: {elements: {CNj8PirSe: \"executive-summary\", cwd03ZFoJ: \"introduction\", dXsL272jT: \"keyterms\", T32OuYThL: \"who-builds-rest\", trabpbUZw: \"disclaimer\", uYF2boYKw: \"methods\", vd_caDllB: \"rest-vs-cbti-programs\", Y2tM3imfk: \"references\", y9dAA6AQR: \"outcomes\", zSlon0T1t: \"conclusions\", zxyjOPpac: \"what-is-rest\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/nUajrNxw7qmcY3az3SiS/VXJS7FW5WIbydRoqc3if/gWT4W147c.js\")), path: \"/sleep-outcomes-2026\"}, X9EZRPNqd: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/L0w1j12WDSsN59Lye43y/bQnkwDHWvKBzqkv0R81C/X9EZRPNqd.js\")), path: \"/android\"}, THKKWFs6L: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/9sxfL4To1f0SWxWa1qT7/8K45Swt2DpLiQiKz32S0/THKKWFs6L.js\")), path: \"/blog/all\"}, HVZeNlLEr: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/TlmDOuffYu3UtCN2UvLV/CERDMCDdJelQ1ETLJt9i/HVZeNlLEr.js\")), path: \"/help\"}, JpsQf6Lcl: {collectionId: \"Hh4KShuDb\", elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/C7rLu1EKIFkVuKIwKSO0/ne1Fd8jFj08D0V8C8w5n/JpsQf6Lcl.js\")), path: \"/blog/:m0Ndm8TRt\"}, gXvJnAKLO: {collectionId: \"YmcBO7Etr\", elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/Gg2jPnLDPaCteTbpNVNa/r0iNKqeH1ZmyZdlQ3Gtx/gXvJnAKLO.js\")), path: \"/blog/categories/:eLIn96jg1\"}, Kk6zcxISn: {collectionId: \"AwwpZt6gu\", elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/J7i7XAXNobvYRCd8hwd0/5VDp30Wbhc2sOMp4Vg17/Kk6zcxISn.js\")), path: \"/help/:ACuNpJNRe\"}, FL0OP6qOK: {collectionId: \"cQX0X61DP\", elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/Ktq1BUv8S5kpN31vTFb6/T1aviJrh0qRlSZRRko8U/FL0OP6qOK.js\")), path: \"/help/category/:ER5zHUyxB\"}}\n\n\t\tconst locales = [{code: \"en\", id: \"default\", name: \"English\", slug: \"\", textDirection: \"ltr\"}, {code: \"es\", id: \"O8oCCmKpL\", name: \"Español\", slug: \"es\", textDirection: \"ltr\"}]\n\t\tconst collectionUtils = {AwwpZt6gu: async () => (await import(\"https://framerusercontent.com/modules/AVphGNoE3WcN02UUTm3w/kqzstQKPz4D2PFmFTWbD/AwwpZt6gu.js\"))?.[\"utils\"], cQX0X61DP: async () => (await import(\"https://framerusercontent.com/modules/9vAlD0GgYmep55o09j8b/UPPI6ycpZBJoUkyn6swQ/cQX0X61DP.js\"))?.[\"utils\"], Hh4KShuDb: async () => (await import(\"https://framerusercontent.com/modules/FXevIGB9wS1QJlMwMX7V/maRfCMzSqrpnxIaoZpws/Hh4KShuDb.js\"))?.[\"utils\"], YmcBO7Etr: async () => (await import(\"https://framerusercontent.com/modules/hTB2zRfQmmwLfDvzatNl/Clq7dc0poxNTC9U7ElHk/YmcBO7Etr.js\"))?.[\"utils\"]}\n\t\tconst serverDatabaseClient = undefined\n\t\tconst framerSiteId = \"7922bd68f81c781ae836f0142abb7b45fd0d882e807b2a9854e187f7bf0cff0e\"\n\t\tfunction Template({webPageId, children, style, ...rest}) {const templateProps = {}\nconst props = templateProps[webPageId] ?? {}\nswitch (webPageId) {case \"uCV1oxivx\":\ncase \"w_AO2uk8B\":\ncase \"YiEEWBGmj\":\ncase \"vq4rBnv2c\":\ncase \"VqrFpKRbn\":\ncase \"mwKVoYx1o\":\ncase \"X_NF5xrlL\":\ncase \"s9cWXr9jd\":\ncase \"xlf1xRpWO\":\ncase \"MLGxp7tL6\":\ncase \"FUThV5_Ue\":\ncase \"uHCxmCygB\":\ncase \"gWT4W147c\":\ncase \"X9EZRPNqd\":\ncase \"THKKWFs6L\":\ncase \"HVZeNlLEr\":\ncase \"JpsQf6Lcl\":\ncase \"gXvJnAKLO\":\ncase \"Kk6zcxISn\":\ncase \"FL0OP6qOK\":\nreturn React.createElement(NewNavigation, {...props, key: \"NewNavigation\", style}, children(true));\ndefault: { return children(false) }}}\nexport function getLayoutTemplateBreakpoints(routeId) {switch (routeId) {case \"uCV1oxivx\":\ncase \"w_AO2uk8B\":\ncase \"YiEEWBGmj\":\ncase \"vq4rBnv2c\":\ncase \"VqrFpKRbn\":\ncase \"mwKVoYx1o\":\ncase \"X_NF5xrlL\":\ncase \"s9cWXr9jd\":\ncase \"xlf1xRpWO\":\ncase \"MLGxp7tL6\":\ncase \"FUThV5_Ue\":\ncase \"uHCxmCygB\":\ncase \"gWT4W147c\":\ncase \"X9EZRPNqd\":\ncase \"THKKWFs6L\":\ncase \"HVZeNlLEr\":\ncase \"JpsQf6Lcl\":\ncase \"gXvJnAKLO\":\ncase \"Kk6zcxISn\":\ncase \"FL0OP6qOK\":\nreturn [{hash: \"1libopw\", mediaQuery: \"(min-width: 1200px)\"}, {hash: \"nde2au\", mediaQuery: \"(min-width: 810px) and (max-width: 1199.98px)\"}, {hash: \"1l8pi88\", mediaQuery: \"(max-width: 809.98px)\"}]\ndefault: { return undefined }}}\n\n\t\tconst isBrowser = typeof document !== \"undefined\"\n\t\tconst isBot = isBrowser && /bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(navigator.userAgent)\n\n\t\t\n\t\t\n\t\tlet initialRouteContentStatePromise\n\t\tfunction getInitialRouteContentState({ routeId, pathVariables, localeId }) {\n\t\t\tinitialRouteContentStatePromise ??= Framer.resolveInitialRouteContentState({\n\t\t\t\troutes,\n\t\t\t\trouteId,\n\t\t\t\tpathVariables,\n\t\t\t\tlocaleId,\n\t\t\t\tlocales,\n\t\t\t\tcollectionUtils,\n\t\t\t})\n\n\t\t\treturn initialRouteContentStatePromise\n\t\t}\n\t\n\n\t\texport async function getPageRoot({\n\t\t\trouteId,\n\t\t\tpathVariables,\n\t\t\tcanonicalPathVariables,\n\t\t\tlocaleId,\n\t\t\tcollectionItemId,\n\t\t\tcontentLocaleId,\n\t\t\tshouldResolveInitialRouteContentState = false,\n\t\t}) {\n\t\t\tFramer.setLibraryFeatures({checkServerSideRouter: true, disableCustomCode: false, disableHoverOnMobile: false, editorBarDisableFrameAncestorsSecurity: false, motionDivToDiv: false, scrollRestoration: true, synchronousNavigationOnDesktop: false, yieldOnTap: false})\n\t\t\tFramer.setCurrentSiteId(framerSiteId)\n\n\t\t\tconst pageRoutes = !isBrowser && routes[routeId].abTestingParentId ? { ...routes } : routes\n\t\t\tif (pageRoutes !== routes) Framer.patchRoutesForABTesting(pageRoutes, routeId)\n\n\t\t\tconst rootPreload = routes[routeId].page.preload()\n\n\t\t\t\n\t\t\tconst route = routes[routeId]\n\t\t\tif (shouldResolveInitialRouteContentState && collectionItemId === undefined && route.collectionId) {\n\t\t\t\tconst contentState = await getInitialRouteContentState({ routeId, pathVariables, localeId })\n\t\t\t\tcontentLocaleId ??= contentState.contentLocaleId\n\t\t\t\tcanonicalPathVariables ??= contentState.canonicalPathVariables\n\t\t\t}\n\t\t\n\n\t\t\tconst content = React.createElement(\n\t\t\t\tFramer.PageRoot,\n\t\t\t\t{\n\t\t\t\t\tisWebsite: true,\n\t\t\t\t\tenvironment: \"site\",\n\t\t\t\t\trouteId,\n\t\t\t\t\tpathVariables,\n\t\t\t\t\tcanonicalPathVariables,\n\t\t\t\t\troutes: pageRoutes,\n\t\t\t\t\tcollectionUtils,\n\t\t\t\t\tserverDatabaseClient,\n\t\t\t\t\tframerSiteId,\n\t\t\t\t\tnotFoundPage: Framer.lazy(() => import(\"https://framerusercontent.com/modules/7UqkkNPbOE9lykbv7b22/9Pn7S4rjGV8aZNiC56uw/uHCxmCygB.js\")),\n\t\t\t\t\tisReducedMotion: undefined,\n\t\t\t\t\tlocaleId,\n\t\t\t\t\tlocales,\n\t\t\t\t\tpreserveQueryParams: true,\n\t\t\t\t\tsiteCanonicalURL: \"https://getrest.app\",\n\t\t\t\t\tEditorBar: \n\t\t\ttypeof window !== \"undefined\" ? (() => {\n\t\t\t\tif (isBot) {\n\t\t\t\t\tconsole.log(\"[Framer On-Page Editing] Unavailable because navigator is bot\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\n\t\t\t\treturn Framer.lazy(async () => {\n\t\t\t\t\tconst dependencies = {\n\t\t\t\t\t\t__version: 3,\n\t\t\t\t\t\tframer: {\n\t\t\t\t\t\t\tuseCurrentRoute: Framer.useCurrentRoute,\n\t\t\t\t\t\t\tuseLocaleInfo: Framer.useLocaleInfo,\n\t\t\t\t\t\t\tuseRouter: Framer.useRouter,\n\t\t\t\t\t\t},\n\t\t\t\t\t\treact: {\n\t\t\t\t\t\t\tcreateElement: React.createElement,\n\t\t\t\t\t\t\tFragment: React.Fragment,\n\t\t\t\t\t\t\tmemo: React.memo,\n\t\t\t\t\t\t\tuseCallback: React.useCallback,\n\t\t\t\t\t\t\tuseEffect: React.useEffect,\n\t\t\t\t\t\t\tuseRef: React.useRef,\n\t\t\t\t\t\t\tuseState: React.useState,\n\t\t\t\t\t\t\tuseLayoutEffect: React.useLayoutEffect,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"react-dom\": { createPortal },\n\t\t\t\t\t}\n\n\t\t\t\t\twindow.__framer_editorBarDependencies = dependencies\n\n\t\t\t\t\tconst { createEditorBar } = await import(\"https://framer.com/edit/init.mjs\")\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdefault: createEditorBar(),\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})() : undefined\n\t\t,\n\t\t\t\t\tadaptLayoutToTextDirection: false,\n\t\t\t\t\tLayoutTemplate: Template,\n\t\t\t\t\tloadSnippetsModule: new Framer.LazyValue(() => import(\"https://framerusercontent.com/modules/gcjw9AqYTzFhxyvKNHK2/zWsoof3NMqYDwAEE3moU/snippets.js\")),\n\t\t\t\t\tinitialCollectionItemId: collectionItemId,\n\t\t\t\t\tinitialContentLocaleIdOverride: contentLocaleId,\n\t\t\t\t}\n\t\t\t)\n\n\t\t\tconst contentWithGracefullyDegradingErrorBoundary = React.createElement(Framer.GracefullyDegradingErrorBoundary, {\n\t\t\t\tchildren: content\n\t\t\t})\n\n\t\t\t\n\t\t\tconst page = React.createElement(Framer.PageEffectsProvider, {\n\t\t\t\tchildren: contentWithGracefullyDegradingErrorBoundary,\n\t\t\t\tvalue: {routes: {}}\n\t\t\t})\n\n\t\t\t// We don't want the initial render to immediately have to suspend.\n\t\t\tawait rootPreload\n\t\t\treturn page\n\t\t}\n\t\n\n\t\tif (isBrowser) {\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.\n\t\t\twindow.__framer_importFromPackage = (packageAndFilename, exportIdentifier) => () => {\n\t\t\t\treturn React.createElement(Framer.ErrorPlaceholder, { error: 'Package component not supported: \"' + exportIdentifier + '\" in \"' + packageAndFilename + '\"' })\n\t\t\t}\n\n\t\t\twindow.__framer_events = window.__framer_events || []\n\n\t\t\t// Initialize lazy modules cache for hydration\n\t\t\tFramer.initLazyModulesCache()\n\n\t\t\tconst container = document.getElementById(\"main\")\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.\n\t\t\tif (\"framerHydrateV2\" in container.dataset) main(true, container)\n\t\t\telse main(false, container)\n\t\t}\n\n\t\tfunction track() {\n\t\t\tif (!isBrowser) return\n\t\t\twindow.__framer_events.push(arguments)\n\t\t}\n\n\t\tasync function main(shouldHydrate, container) {\n\t\t\tfunction handleError(error, errorInfo, recoverable = true) {\n\t\t\t\tif (error.caught || window.__framer_hadFatalError) return // we already logged it\n\n\t\t\t\tconst componentStack = errorInfo?.componentStack\n\t\t\t\tif (recoverable) {\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)\n\t\t\t\t\t// we only want to collect 1%, because this can be quite noisy (floods the data pipeline)\n\t\t\t\t\tif (Math.random() > 0.01) return\n\t\t\t\t} else {\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)\n\t\t\t\t}\n\t\t\t\ttrack(recoverable ? \"published_site_load_recoverable_error\" : \"published_site_load_error\", {\n\t\t\t\t\tmessage: String(error),\n\t\t\t\t\tcomponentStack, // componentStack is more useful\n\t\t\t\t\tstack: componentStack ? undefined : error instanceof Error && typeof error.stack === \"string\" ? error.stack : null,\n\t\t\t\t})\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tlet routeId, localeId, contentLocaleId, pathVariables, canonicalPathVariables, breakpoints, routeData\n\t\t\t\tif (shouldHydrate) {\n\t\t\t\t\trouteData = JSON.parse(container.dataset[\"framerHydrateV2\"])\n\t\t\t\t\trouteId = routeData.routeId\n\t\t\t\t\tlocaleId = routeData.localeId\n\t\t\t\t\tcontentLocaleId = routeData.contentLocaleId\n\t\t\t\t\tpathVariables = routeData.pathVariables\n\t\t\t\t\tcanonicalPathVariables = routeData.canonicalPathVariables\n\t\t\t\t\tbreakpoints = routeData.breakpoints\n\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)\n\t\t\t\t} else {\n\t\t\t\t\t\n\t\t\t\t\tFramer.patchRoutesForABTesting(routes, undefined) // This must happen before inferInitialRouteFromPath\n\t\t\t\t\tconst serverRoute = performance.getEntriesByType(\"navigation\")[0]?.serverTiming?.find(e => e.name === \"route\")?.description\n\t\t\t\t\tif (serverRoute) {\n\t\t\t\t\t\tconst routeData = new URLSearchParams(serverRoute)\n\t\t\t\t\t\trouteId = routeData.get(\"id\")\n\t\t\t\t\t\tlocaleId = routeData.get(\"locale\")\n\t\t\t\t\t\tfor (const [key, value] of routeData.entries()) {\n\t\t\t\t\t\t\tif (!key.startsWith(\"var.\")) continue\n\t\t\t\t\t\t\tpathVariables ??= {}\n\t\t\t\t\t\t\tpathVariables[key.slice(4)] = value\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!routeId || !localeId) {\n\t\t\t\t\t\tconst routeData = Framer.inferInitialRouteFromPath(routes, decodeURIComponent(location.pathname), true, locales)\n\t\t\t\t\t\trouteId = routeData.routeId\n\t\t\t\t\t\tlocaleId = routeData.localeId\n\t\t\t\t\t\tpathVariables = routeData.pathVariables\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\n\t\t\t\tconst pagePromise = getPageRoot({\n\t\t\t\t\trouteId,\n\t\t\t\t\tlocaleId,\n\t\t\t\t\tcontentLocaleId,\n\t\t\t\t\tpathVariables,\n\t\t\t\t\tcanonicalPathVariables,\n\t\t\t\t\tcollectionItemId: shouldHydrate ? routeData?.collectionItemId : undefined,\n\t\t\t\t\tshouldResolveInitialRouteContentState: !shouldHydrate,\n\t\t\t\t})\n\n\t\t\t\t\nif (typeof window !== \"undefined\") {\n\tvoid (async () => {\n\t\tconst route = routes[routeId]\n\n\t\tconst defaultLocaleId = \"default\"\n\t\tconst framerLocale = locales.find(({ id }) => !localeId ? id === defaultLocaleId : id === localeId).code\n\n\t\t\n\t\tlet collectionItemId\n\t\tif (routeData?.collectionItemId !== undefined) {\n\t\t\tcollectionItemId = routeData.collectionItemId\n\t\t} else if (route?.collectionId) {\n\t\t\t// `collectionItemId` is a separate promise so that `getPageRoot` never waits on it; analytics does.\n\t\t\tconst initialState = await getInitialRouteContentState({ routeId, pathVariables, localeId })\n\t\t\tcollectionItemId = await initialState.collectionItemId\n\t\t} else {\n\t\t\tcollectionItemId = null\n\t\t}\n\t\n\n\t\tconst resolvedDateTimeOptions = Intl.DateTimeFormat().resolvedOptions()\n\t\tconst timezone = resolvedDateTimeOptions.timeZone\n\t\tconst locale = resolvedDateTimeOptions.locale\n\n\t\t// wait for the page to be activated before sending the pageview event\n\t\t// https://developer.chrome.com/docs/web-platform/prerender-pages#impact-on-analytics\n\t\tawait new Promise((resolve) => {\n\t\t\tif (document.prerendering) {\n\t\t\t\tdocument.addEventListener(\"prerenderingchange\", resolve, { once: true })\n\t\t\t} else {\n\t\t\t\tresolve()\n\t\t\t}\n\t\t})\n\n\t\twindow.__framer_events.push([\n\t\t\t\"published_site_pageview\",\n\t\t\t{\n\t\t\t\tframerSiteId,\n\t\t\t\tversion: 2,\n\t\t\t\troutePath: route?.path || \"/\",\n\t\t\t\tcollectionItemId,\n\t\t\t\tframerLocale: framerLocale || null,\n\t\t\t\twebPageId: route?.abTestingVariantId ?? routeId,\n\t\t\t\tabTestId: route?.abTestId,\n\t\t\t\treferrer: document.referrer || null,\n\t\t\t\turl: window.location.href,\n\t\t\t\thostname: window.location.hostname || null,\n\t\t\t\tpathname: window.location.pathname || null,\n\t\t\t\thash: window.location.hash || null,\n\t\t\t\tsearch: window.location.search || null,\n\t\t\t\ttimezone,\n\t\t\t\tlocale,\n\t\t\t},\n\t\t\t\"eager\"\n\t\t])\n\n\t\t// Yield to avoid blocking the main thread with the user code\n\t\tawait Framer.yieldToMain({ priority: \"background\", ensureContinueBeforeUnload: true, continueAfter: \"paint\" })\n\n\t\tdocument.dispatchEvent(new CustomEvent(\"framer:pageview\", {\n\t\t\tdetail: { framerLocale: framerLocale || null, abTestId: route?.abTestId, abTestingVariantId: route?.abTestingVariantId, abTestingVariantName: route?.abTestingVariantName, webPageId: routeId }\n\t\t}))\n\t})()\n}\n\n\n\t\t\t\tconst page = await pagePromise\n\t\t\t\tif (shouldHydrate) {\n\t\t\t\t\t\n\n\t\t\t\t\tFramer.withPerformanceMarks(\"framer-rewrite-breakpoints\", () => {\n\t\t\t\t\t\tFramer.removeHiddenBreakpointLayersV2(breakpoints)\n\t\t\t\t\t\twindow.__framer_onRewriteBreakpoints?.(breakpoints)\n\t\t\t\t\t})\n\n\t\t\t\t\t\n\n\t\t\t\t\tconst startTransition = isBot ? cb => cb() : React.startTransition\n\t\t\t\t\tstartTransition(() => {\n\t\t\t\t\t\tFramer.markHydrationStart()\n\t\t\t\t\t\tFramer.turnOffReactEventHandling()\n\t\t\t\t\t\tReactDOM.hydrateRoot(container, page, { onRecoverableError: handleError })\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\t\n\t\t\t\t\tawait Framer.loadLibraryCSSRules()\n\t\t\t\t\tReactDOM.createRoot(container, { onRecoverableError: handleError }).render(page)\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\thandleError(error, undefined, false)\n\t\t\t\tthrow error\n\t\t\t}\n\t\t}\n\n\t\t\n\n\t\t\n\t"],"mappings":"A,wdAaE,SAASkE,EAAS,CAAC,YAAW,WAAU,QAAO,GAAGC,GAAO,CAC3D,I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