{"version":3,"file":"script_main.Ec-OlGOu.mjs","names":["React.createElement","Main","BTS","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","ee","init_npm_react_18_3_1","te","x","le","window","init_npm_react_dom_18_3_1","ce","Ha","init_client","c","_e","de","init_ssg_sandbox_shims","patchRoutesForABTesting","ResolveLinks","useSiteRefs","yieldToMain","inferInitialRouteFromPath","lazy","initLazyModulesCache","withPerformanceMarks","useRouter","loadLibraryCSSRules","markHydrationStart","PageEffectsProvider","setCurrentSiteId","ErrorPlaceholder","turnOffReactEventHandling","useCurrentRoute","LazyValue","resolveInitialRouteContentState","setLibraryFeatures","init_framer_DcxuU94H","removeHiddenBreakpointLayersV2","GracefullyDegradingErrorBoundary","PageRoot","useLocaleInfo","FramerFyrfYMenm","init_FyrfYMenm","init_WuYSNb4T9","FramerWuYSNb4T9","Template","rest","props1","props2","props3","props4","props5","props6","props7","props8","props9","props10","props11","siteRef","props","webPageId","H","\"eU5AbZcmq\"","resolvedLinks","children","getLayoutTemplateBreakpoints","routeId","getInitialRouteContentState","initialRouteContentStatePromise","getPageRoot","framerSiteId","rootPreload","routes","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\"","n","exportIdentifier","packageAndFilename"],"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 Main from \"https://framerusercontent.com/modules/A6GjIyBdShysIbyVIXDE/XQYepHH1O3vJPmqRZVt6/FyrfYMenm.js\";\r\nimport BTS from \"https://framerusercontent.com/modules/CgcozIPlyIhxXbQRH1zJ/gUOC08hq6NHgJoAOn42M/WuYSNb4T9.js\";\r\n\r\n\t\tconst routes = {augiA20Il: {elements: {snNDKtJNu: \"hero-exit\", XAZX5HbE_: \"locations\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/k6HEQ7e7jTqMA9lw5j2D/oXbQ10mS7qnae5WDbwF7/augiA20Il.js\")), path: \"/\"}, Nwo8uFr3a: {elements: {lAf6TNDpZ: \"locations\", VuzyaQNjG: \"hero-exit\", W7F_SU8Xt: \"locations-1\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/F82pq20BcLvu8W755cJ0/iiN3IXmlrL4ts3yDrt7H/Nwo8uFr3a.js\")), path: \"/production-services\"}, kKmoxXY51: {elements: {x3ABCA4rz: \"team\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/xfZK2SpNLlg2hP0c6C8x/HyK0FKnXPgBE4PfX5qdU/kKmoxXY51.js\")), path: \"/our-team\"}, xvff6iEGF: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/oaytWOzClSjikeaV4eNk/KGIxC3cx64gczPewXVc0/xvff6iEGF.js\")), path: \"/contact-us\"}, zKmmMJOOV: {elements: {vyrAYJXDs: \"header-bg\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/vYIowFeG2ZZXES0dMtxT/FmiF1HI5veIUpl1jWStR/zKmmMJOOV.js\")), path: \"/news\"}, uTt65Ngxi: {elements: {dJyYmD9dc: \"header-bg\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/dwOJBbdTGkRFay3CuaB8/Fu7jzbrspcjhkl0RrRji/uTt65Ngxi.js\")), path: \"/our-work\"}, UKqiBNs_f: {elements: {dvwhogqwo: \"header-bg\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ljIbl2OEme6WKzxrI4kU/rMvxIgqNHrf8UCwkfDVM/UKqiBNs_f.js\")), path: \"/404\"}, FtmtWsfm6: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/kPdz6D9hGMGpSATqHC0i/3jSNUTpXGp0LfLrlCrRF/FtmtWsfm6.js\")), path: \"/calculator\"}, iopG8Ch3b: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/YwbE60FY4LHdb1xvGozs/IR3gg8NIc6PDZYrIB5yG/iopG8Ch3b.js\")), path: \"/privacy-policy\"}, PrNuBWnKa: {collectionId: \"a_zswuI6r\", elements: {pW3g_fzwE: \"header-bg\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/mqRr0Ppt85tO0kyphTBP/BEsjLbDSNYh7vri27P1m/PrNuBWnKa.js\")), path: \"/news/:Pc5R1XB_D\"}, YqQR07nij: {collectionId: \"h0GRmd4C_\", elements: {HUEoffaOD: \"project-details\", r8AFcaJV8: \"hero-exit\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/k6PP9uBDgwmNaRaS8DjM/IPBcbZVplUk6kLQWtIXB/YqQR07nij.js\")), path: \"/our-work/:lG3l71h5w\"}}\r\n\r\n\t\tconst locales = [{code: \"en\", id: \"default\", name: \"English\", slug: \"\", textDirection: \"ltr\"}]\r\n\t\tconst collectionUtils = {a_zswuI6r: async () => (await import(\"https://framerusercontent.com/modules/6WqQstDR1HigK7RvzMSx/0wTRw1IeI1p5Ma0j2Q5A/a_zswuI6r.js\"))?.[\"utils\"], GDlP93n9p: async () => (await import(\"https://framerusercontent.com/modules/cj28EBoeV3a9r3lnLsYm/aIKuB50Ps1o12ZToYFvi/GDlP93n9p.js\"))?.[\"utils\"], h0GRmd4C_: async () => (await import(\"https://framerusercontent.com/modules/hVvmXdSQ2S5tbSENoCwN/26q9sFMlZStLkYWwRRL1/h0GRmd4C_.js\"))?.[\"utils\"], N4VB0r4vQ: async () => (await import(\"https://framerusercontent.com/modules/JXlxifGiL66jtw0go2x9/KlTwluJrl3QnTUf61MNq/N4VB0r4vQ.js\"))?.[\"utils\"]}\r\n\t\tconst serverDatabaseClient = undefined\r\n\t\tconst framerSiteId = \"596b5d06f52852f965cf572813e3472fb77bd809e1a31acd372c9f992f71648c\"\r\n\t\tfunction Template({webPageId, children, style, ...rest}) {const props1 = {eU5AbZcmq: {href: {hash: \":snNDKtJNu\", webPageId: \"augiA20Il\"}, refKey: true}, headerSurface: \"rgba(0, 0, 0, 0)\", Qhjqd5KVh: \"clip\"}\r\nconst props2 = {...props1, eU5AbZcmq: {href: {hash: \":TK1GOL1CD\", webPageId: \"kKmoxXY51\"}, refKey: true}, headerSurface: \"var(--token-SuBW_aZ_H)\"}\r\nconst props3 = {...props1, eU5AbZcmq: {href: {hash: \":kczxOMRFk\", webPageId: \"xvff6iEGF\"}, refKey: true}, headerSurface: \"var(--token-SuBW_aZ_H)\"}\r\nconst props4 = {...props1, eU5AbZcmq: {href: {hash: \":vyrAYJXDs\", webPageId: \"zKmmMJOOV\"}, refKey: true}, headerSurface: \"var(--token-SuBW_aZ_H)\", Qhjqd5KVh: \"visible\"}\r\nconst props5 = {...props1, eU5AbZcmq: {href: {hash: \":dJyYmD9dc\", webPageId: \"uTt65Ngxi\"}, refKey: true}, headerSurface: \"var(--token-SuBW_aZ_H)\"}\r\nconst props6 = {...props1, eU5AbZcmq: {href: {hash: \":TmBMDwNTe\", webPageId: \"NEGrWQC4t\"}, refKey: true}}\r\nconst props7 = {...props1, eU5AbZcmq: {href: {hash: \":dvwhogqwo\", webPageId: \"UKqiBNs_f\"}, refKey: true}}\r\nconst props8 = {...props1, eU5AbZcmq: undefined, headerSurface: \"var(--token-SuBW_aZ_H)\"}\r\nconst props9 = {...props1, eU5AbZcmq: {href: {hash: \":npp_R5u5X\", webPageId: \"iopG8Ch3b\"}, refKey: true}}\r\nconst props10 = {...props1, eU5AbZcmq: {href: {hash: \":pW3g_fzwE\", webPageId: \"PrNuBWnKa\"}, refKey: true}, headerSurface: \"var(--token-SuBW_aZ_H)\"}\r\nconst props11 = {...props1, eU5AbZcmq: {href: {hash: \":r8AFcaJV8\", webPageId: \"YqQR07nij\"}, refKey: true}}\r\nconst siteRef = useSiteRefs()\r\nconst templateProps = {augiA20Il: props1, FtmtWsfm6: props8, iopG8Ch3b: props9, kKmoxXY51: props2, NEGrWQC4t: props6, PrNuBWnKa: props10, UKqiBNs_f: props7, uTt65Ngxi: props5, xvff6iEGF: props3, YqQR07nij: props11, zKmmMJOOV: props4}\r\nconst props = templateProps[webPageId] ?? {}\r\nswitch (webPageId) {case \"augiA20Il\":\r\ncase \"kKmoxXY51\":\r\ncase \"xvff6iEGF\":\r\ncase \"zKmmMJOOV\":\r\ncase \"uTt65Ngxi\":\r\ncase \"NEGrWQC4t\":\r\ncase \"UKqiBNs_f\":\r\ncase \"FtmtWsfm6\":\r\ncase \"iopG8Ch3b\":\r\ncase \"PrNuBWnKa\":\r\ncase \"YqQR07nij\":\r\nreturn React.createElement(ResolveLinks, {links: [props[\"eU5AbZcmq\"]]}, (resolvedLinks) => React.createElement(Main, {...props, eU5AbZcmq: siteRef(resolvedLinks[0]), key: \"Main\", style}, children(true)));\r\ncase \"Nwo8uFr3a\":\r\nreturn React.createElement(BTS, {...props, key: \"BTS\", style}, children(true));\r\ndefault: { return children(false) }}}\r\nexport function getLayoutTemplateBreakpoints(routeId) {switch (routeId) {case \"augiA20Il\":\r\ncase \"kKmoxXY51\":\r\ncase \"xvff6iEGF\":\r\ncase \"zKmmMJOOV\":\r\ncase \"uTt65Ngxi\":\r\ncase \"NEGrWQC4t\":\r\ncase \"UKqiBNs_f\":\r\ncase \"FtmtWsfm6\":\r\ncase \"iopG8Ch3b\":\r\ncase \"PrNuBWnKa\":\r\ncase \"YqQR07nij\":\r\nreturn [{hash: \"1n4mzq0\", mediaQuery: \"(min-width: 1280px)\"}, {hash: \"1dbqh4c\", mediaQuery: \"(min-width: 992px) and (max-width: 1279.98px)\"}, {hash: \"16gjcao\", mediaQuery: \"(max-width: 991.98px)\"}]\r\ncase \"Nwo8uFr3a\":\r\nreturn [{hash: \"17hwr4h\"}]\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, 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/ljIbl2OEme6WKzxrI4kU/rMvxIgqNHrf8UCwkfDVM/UKqiBNs_f.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://mistrusmedia.lv\",\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/Sr0bzTia63VZMyMCofvs/XlGGYbs0uTQmL72kU3Rp/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,mfAeE,SAASsE,EAAS,CAAC,YAAW,WAAU,QAAO,GAAGC,GAAO,CAAC,IAAMC,EAAS,CAAC,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,EAAG,cAAe,mBAAoB,UAAW,MAAM,EACzMC,EAAS,CAAC,GAAGD,EAAQ,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,EAAG,cAAe,wBAAwB,EAC3IE,EAAS,CAAC,GAAGF,EAAQ,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,EAAG,cAAe,wBAAwB,EAC3IG,EAAS,CAAC,GAAGH,EAAQ,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,EAAG,cAAe,yBAA0B,UAAW,SAAS,EACjKI,EAAS,CAAC,GAAGJ,EAAQ,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAA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