{"version":3,"sources":["../../src/client/index.tsx"],"names":["React","ReactDOM","HeadManagerContext","mitt","RouterContext","handleSmoothScroll","isDynamicRoute","urlQueryToSearchParams","assign","setConfig","getURL","loadGetInitialProps","ST","Portal","initHeadManager","PageLoader","measureWebVitals","RouteAnnouncer","createRouter","makePublicRouterInstance","getProperError","ImageConfigContext","removeBasePath","hasBasePath","AppRouterContext","adaptForAppRouterInstance","adaptForPathParams","adaptForSearchParams","PathnameContextProviderAdapter","SearchParamsContext","PathParamsContext","onRecoverableError","tracer","reportToSocket","version","process","env","__NEXT_VERSION","router","emitter","looseToArray","input","slice","call","initialData","defaultLocale","undefined","asPath","pageLoader","appElement","headManager","initialMatchesMiddleware","lastAppProps","lastRenderReject","devClient","CachedApp","onPerfEntry","CachedComponent","Container","Component","componentDidCatch","componentErr","info","props","fn","componentDidMount","scrollToHash","isSsr","isFallback","nextExport","pathname","location","search","__NEXT_HAS_REWRITES","__N_SSG","replace","String","query","URLSearchParams","_h","shallow","catch","err","cancelled","componentDidUpdate","hash","substring","el","document","getElementById","setTimeout","scrollIntoView","render","NODE_ENV","children","ReactDevOverlay","require","initialize","opts","onSpanEnd","JSON","parse","textContent","window","__NEXT_DATA__","prefix","assetPrefix","self","__next_set_public_path__","serverRuntimeConfig","publicRuntimeConfig","runtimeConfig","__NEXT_I18N_SUPPORT","normalizeLocalePath","detectDomainLocale","parseRelativeUrl","formatUrl","locales","parsedAs","localePathResult","detectedLocale","locale","detectedDomain","__NEXT_I18N_DOMAINS","hostname","scriptLoader","initScriptLoader","buildId","register","r","f","routeLoader","onEntrypoint","__NEXT_P","map","p","push","getIsSsr","renderApp","App","appProps","AppContainer","adaptedForAppRouter","useMemo","error","renderError","console","Provider","value","isAutoExport","autoExport","__NEXT_IMAGE_OPTS","wrapApp","wrappedAppProps","renderErrorProps","onUnrecoverableError","doRender","styleSheets","loadPage","then","page","ErrorComponent","errorModule","appModule","default","m","AppTree","appCtx","ctx","Promise","resolve","initProps","Head","callback","useLayoutEffect","performanceMarks","navigationStart","beforeRender","afterRender","afterHydrate","routeChange","performanceMeasures","hydration","beforeHydration","routeChangeToRender","reactRoot","shouldHydrate","clearMarks","forEach","mark","performance","markHydrateComplete","hasBeforeRenderMark","getEntriesByName","length","beforeHydrationMeasure","measure","hydrationMeasure","startSpan","startTime","timeOrigin","attributes","end","duration","markRenderComplete","navStartEntries","name","clearMeasures","renderReactElement","domEl","reactEl","hydrateRoot","startTransition","Root","callbacks","useEffect","__NEXT_TEST_MODE","__NEXT_HYDRATED","__NEXT_HYDRATED_CB","canceled","resolvePromise","renderPromise","reject","Error","onStart","currentStyleTags","querySelectorAll","currentHrefs","Set","tag","getAttribute","noscript","querySelector","nonce","href","text","has","styleTag","createElement","setAttribute","head","appendChild","createTextNode","onHeadCommit","desiredHrefs","s","idx","removeAttribute","referenceNode","targetTag","parentNode","insertBefore","nextSibling","removeChild","scroll","x","y","scrollTo","onRootCommit","elem","type","__NEXT_STRICT_MODE","StrictMode","renderingProps","renderErr","hydrate","initialErr","appEntrypoint","whenEntrypoint","component","app","exports","mod","reportWebVitals","id","entryType","entries","attribution","uniqueID","Date","now","Math","floor","random","perfStartEntry","webVitals","label","pageEntrypoint","isValidElementType","getServerError","message","e","stack","source","__NEXT_PRELOADREADY","dynamicIds","initialProps","Boolean","subscription","Object","domainLocales","isPreview","_initialMatchesMiddlewarePromise","renderCtx","initial"],"mappings":"AAAA,mBAAmB,GACnB,OAAO,qCAAoC;AAS3C,OAAOA,WAAW,QAAO;AACzB,OAAOC,cAAc,mBAAkB;AACvC,SAASC,kBAAkB,QAAQ,oDAAmD;AACtF,OAAOC,UAAU,qBAAoB;AAErC,SAASC,aAAa,QAAQ,8CAA6C;AAC3E,SAASC,kBAAkB,QAAQ,kDAAiD;AACpF,SAASC,cAAc,QAAQ,wCAAuC;AACtE,SACEC,sBAAsB,EACtBC,MAAM,QACD,yCAAwC;AAC/C,SAASC,SAAS,QAAQ,wCAAuC;AACjE,SAASC,MAAM,EAAEC,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