{"version":3,"file":"script_main.O2jyfdrk.mjs","names":["Framer.resolveInitialRouteContentState","React.createElement","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","ee","init_npm_react_18_3_1","te","x","le","window","Ha","ce","H","init_client","init_npm_react_dom_18_3_1","c","_e","de","init_ssg_sandbox_shims","loadLibraryCSSRules","withPerformanceMarks","inferInitialRouteFromPath","yieldToMain","useRouter","useLocaleInfo","init_framer_BL70qLPA","initLazyModulesCache","lazy","LazyValue","resolveInitialRouteContentState","PageEffectsProvider","setCurrentSiteId","turnOffReactEventHandling","markHydrationStart","GracefullyDegradingErrorBoundary","useCurrentRoute","removeHiddenBreakpointLayersV2","ErrorPlaceholder","setLibraryFeatures","patchRoutesForABTesting","PageRoot","getInitialRouteContentState","initialRouteContentStatePromise","getPageRoot","framerSiteId","rootPreload","routes","routeId","route","shouldResolveInitialRouteContentState","collectionItemId","contentState","content","isBot","createEditorBar","contentLocaleId","contentWithGracefullyDegradingErrorBoundary","page","track","isBrowser","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":["\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\n\r\n\t\tconst routes = {augiA20Il: {elements: {e7Fn402p7: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/xk58azx1FnsEuX1dr7UA/NMIyvlhog2hTMQqJN1q1/augiA20Il.js\")), path: \"/\"}, QQF_NnUP6: {elements: {uO0BGIPXO: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/gQmBES8RMM4QaNlF3gTK/pU6PD5TDxMFlKRbJwBw0/QQF_NnUP6.js\")), path: \"/why-us\"}, yf25e3MxC: {elements: {yWz6QKtzb: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/CnRPNvLITpCF9PkNDLBU/nLssI0kVKfqHCjrXUIe1/yf25e3MxC.js\")), path: \"/services/comprehensive-hearing-assessments\"}, fdOIb_PbX: {elements: {NCa3mTNQP: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/fIEhiswKAKKoLxD8YMWv/RGSBMrLZwJ0LL2rHHD7E/fdOIb_PbX.js\")), path: \"/services/treatment-plans\"}, YBGloa1QZ: {elements: {B1iLr7_q7: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/nTO7PNcnNL7Fotg9OHIz/822q7ONCvvM9aZOwRAfx/YBGloa1QZ.js\")), path: \"/services/mobile-hearing-care\"}, EaySXmZ0k: {elements: {EXW917eu7: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/RPv8Xkp3MZVxkHUzQ54K/h8IplLDA8pJjgnDZaRWQ/EaySXmZ0k.js\")), path: \"/free-online-hearing-screening\"}, hrfTCrrQw: {elements: {n1owBlrlB: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/p6T4hu4a2KFPExcDtEc6/byC6vThnwzT6AOCQ3rGY/hrfTCrrQw.js\")), path: \"/services/advanced-hearing-aid-technology\"}, ohjJvVYbP: {elements: {okEcSF442: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/WNyXV7uQs8FETZVyWRuC/ACgj64rKBrEJIG3nxQJ7/ohjJvVYbP.js\")), path: \"/services/earwax-removals\"}, e66jT0FPH: {elements: {rUCd9MSSU: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/CQZHbSuLChHHWGHYcXrL/3SxDIwC6kmBXZqpsztxv/e66jT0FPH.js\")), path: \"/giving-back\"}, vjl9L3qYH: {elements: {IzPRnv2oU: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/aawRlQ1EyyXhgDz0wyYP/TazSusV1JWv3NrjUEDB5/vjl9L3qYH.js\")), path: \"/services/hearing-aid-repair\"}, IkhvOnOev: {elements: {WtA4AtzqA: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/IUYicvNec8Qk8euoZAaY/QSUEh7ukDX0UJlKiGzjv/IkhvOnOev.js\")), path: \"/services/cognitive-screening\"}, dOjID8MGK: {elements: {XtLfguDdA: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/pAMD5rqDd1R3JDtvoEHU/AgsUtT6IfbUIFmpcRDkn/dOjID8MGK.js\")), path: \"/services/hearing-protection\"}, Ru2TaQGJu: {elements: {OIoBN1NFZ: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/TLnr8f2OlpiSjCjBXfYN/SMTX0OF5lrTolWqVAczs/Ru2TaQGJu.js\")), path: \"/services/hearing-aid-accessories\"}, klymHDKSG: {elements: {KxPZeF5oS: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/btgYIG0gDSnocvOcqaRK/gVMrowqMNc0kmSeYVhA0/klymHDKSG.js\")), path: \"/services/corporate-services\"}, sZK3dzdPt: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/cjleI2RlK7yNiQHZMjTA/Zqwt2oanGvMmGHi8ODus/sZK3dzdPt.js\")), path: \"/thank-you\"}, u9jiqr8KM: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/fnqkNi7uJWY2Ufx3cMgB/4oqk1Br8xMWkXsFOLIkg/u9jiqr8KM.js\")), path: \"/ahead-of-your-appointment\"}, Qrjbsmk_N: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/8dqm2ZW3oqq9KnRvLtui/xI84B8yVMwlySSsCiiwV/Qrjbsmk_N.js\")), path: \"/404\"}, Qs_pdCOfg: {elements: {BtmpTYuOf: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/l4OrHJA16Myu6mzoDzeq/rkxuDaD3uldnOKu2FGri/Qs_pdCOfg.js\")), path: \"/request-a-callback\"}, Mk0rr3b0U: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/WSfZufk92rpTtyPLXRPt/DhFF6i64KoUsjuUkb5VT/Mk0rr3b0U.js\")), path: \"/hfth\"}, K3O3byI0L: {elements: {nceXos4sN: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/gzVZDhlqAKjqr3uuzuUU/CEenQdXAp1WBkxntRloH/K3O3byI0L.js\")), path: \"/contact\"}, LVVbZh0iQ: {elements: {BYUcx2s6c: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/fdEupvlHThPYs4A6BraB/DCnlcdq4pxfQSFincOgr/LVVbZh0iQ.js\")), path: \"/patient-stories\"}, sGvZ87jL8: {elements: {btXDAd_ZA: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/r0ncbyYjCfcPl6M0REAN/p8vD9mexzOygeJJT5tyL/sGvZ87jL8.js\")), path: \"/blog\"}, DunToyX7i: {elements: {zft_YBDuR: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/nTH9GbRzfWAPsmAulw9S/u7hqywDYu88e7G0oA8TD/DunToyX7i.js\")), path: \"/leave-a-review\"}, ChUNWulwn: {elements: {cN7TcwJeU: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ybFServV3aFX2n40oLWW/WmC4BmSfLjhlOa5BwJUt/ChUNWulwn.js\")), path: \"/how-to-videos\"}, tOuK0G3zm: {elements: {IdF5nXnFc: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/VhuyyXLpSERquRTzYNOA/ARi07Qbc0ZDWRNBmCukI/tOuK0G3zm.js\")), path: \"/locations\"}, xqwvhMr7B: {elements: {rXolRYBph: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/SbpbosRqCAk3YqtCJKtt/dd3ezW2GtE9b6Wu4bcGk/xqwvhMr7B.js\")), path: \"/make-a-booking\"}, A7kdtfFH5: {elements: {TNr0nTZy4: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/nnJLNfNcb5Ea29Kh0WBX/EP7tQxO8x2W8i3EfuQAC/A7kdtfFH5.js\")), path: \"/meet-the-team\"}, ocjNCeUoY: {elements: {dYPx0X3f3: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/mTYsiNKLKUFAA8uhljXQ/MHo47u3TYQLqWe0TLKTi/ocjNCeUoY.js\")), path: \"/physician-resources\"}, dPxd5RCBp: {collectionId: \"jEbaEJ2zD\", elements: {dj7sCiOtp: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/0Ktm8icLYV0R2IlKWpoA/HAZzKMxDHLMyZTtLVtBM/dPxd5RCBp.js\")), path: \"/patient-stories/:OhnTdD81c\"}, IbAO48v9T: {collectionId: \"Prxym9cMA\", elements: {SAxvik5aQ: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/TGnWEDcI1HdAWdsMHAtr/eDNicLpTesPe5YrZF4cg/IbAO48v9T.js\")), path: \"/blog/:y7JWE_0zf\"}, V5jYToyal: {collectionId: \"INmw1LxvH\", elements: {yUYpTUmsd: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/hTL4GKPjM8vzYLMaouLF/xqBSXFrnJwNatbUAeaL7/V5jYToyal.js\")), path: \"/meet-the-team/:n1ElKQ6Pf\"}, jacNGpZqA: {collectionId: \"SLnCr44bp\", elements: {dWNuH9Myz: \"cta\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/5Kv5Kyi7AyNvkyrqn7FG/VZP5afHG7fMoy4lCA7vb/jacNGpZqA.js\")), path: \"/areas-covered/:mP1PQH93r\"}}\r\n\r\n\t\tconst locales = [{code: \"en-CA\", id: \"default\", name: \"English\", slug: \"\", textDirection: \"ltr\"}]\r\n\t\tconst collectionUtils = {INmw1LxvH: async () => (await import(\"https://framerusercontent.com/modules/uhfoFIIrF4n7Zz3N8XuE/04Dpfu1yvNlqO25PSOwR/INmw1LxvH.js\"))?.[\"utils\"], jEbaEJ2zD: async () => (await import(\"https://framerusercontent.com/modules/nZXqC3Xyb2BpUksMGMqF/7QZwQxarlqihcNOJvIBZ/jEbaEJ2zD.js\"))?.[\"utils\"], Prxym9cMA: async () => (await import(\"https://framerusercontent.com/modules/q4I0kt2JX34yiMfuUDYz/loJStGIpImO06r7nCvMK/Prxym9cMA.js\"))?.[\"utils\"], SLnCr44bp: async () => (await import(\"https://framerusercontent.com/modules/tOYS2VFvLIG0xNAZmeg1/9NsdvC2ipQOJalKRwKki/SLnCr44bp.js\"))?.[\"utils\"]}\r\n\t\tconst serverDatabaseClient = undefined\r\n\t\tconst framerSiteId = \"bdcd996f19ac8ae3229958915d712fbbcf22152d16fad30de8d3738b8d02f4f6\"\r\n\t\t\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, 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\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,\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/8dqm2ZW3oqq9KnRvLtui/xI84B8yVMwlySSsCiiwV/Qrjbsmk_N.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: true,\r\n\t\t\t\t\tsiteCanonicalURL: \"https://greatlakeshearing.ca\",\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\t\r\n\t\t\t\t\tloadSnippetsModule: new Framer.LazyValue(() => import(\"https://framerusercontent.com/modules/shJB04FI1vgJOVOfpya7/NX8x1mfUuN24pHOD2fSj/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 }\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,6ZAoBE,SAAS+D,EAA4B,CAAE,UAAS,gBAAe,YAAY,CAU1E,MATA,KAAoC/D,EAAuC,CAC1E,SACA,UACA,gBACA,WACA,UACA,iBACD,CAAC,EAEM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