1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
|
{"version":3,"sources":["../../src/client/link.tsx"],"names":["prefetched","Set","prefetch","router","href","as","options","appOptions","isAppRouter","window","isLocalURL","bypassPrefetchedCheck","locale","undefined","prefetchedKey","has","add","prefetchPromise","Promise","resolve","catch","err","process","env","NODE_ENV","isModifiedEvent","event","eventTarget","currentTarget","target","getAttribute","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","linkClicked","e","replace","shallow","scroll","prefetchEnabled","nodeName","isAnchorNodeName","toUpperCase","preventDefault","navigate","routerScroll","forceOptimisticNavigation","React","startTransition","formatStringOrUrl","urlObjOrString","formatUrl","Link","forwardRef","LinkComponent","props","forwardedRef","children","hrefProp","asProp","childrenProp","prefetchProp","passHref","onClick","onMouseEnter","onMouseEnterProp","onTouchStart","onTouchStartProp","legacyBehavior","restProps","a","pagesRouter","useContext","RouterContext","appRouter","AppRouterContext","appPrefetchKind","PrefetchKind","AUTO","FULL","createPropError","args","Error","key","expected","actual","requiredPropsGuard","requiredProps","Object","keys","forEach","_","optionalPropsGuard","optionalProps","valType","hasWarned","useRef","current","console","warn","pathname","hasDynamicSegment","split","some","segment","startsWith","endsWith","useMemo","resolvedHref","resolvedAs","resolveHref","previousHref","previousAs","child","Children","only","type","childRef","ref","setIntersectionRef","isVisible","resetVisible","useIntersection","rootMargin","setRef","useCallback","el","useEffect","kind","childProps","defaultPrevented","priority","isAbsoluteUrl","curLocale","localeDomain","isLocaleDomain","getDomainLocale","locales","domainLocales","addBasePath","addLocale","defaultLocale","cloneElement"],"mappings":"AAAA;;;;;+BAsvBA;;;eAAA;;;;gEA/uBkB;6BAEU;4BACD;2BACD;uBACI;2BACJ;4CACI;+CACG;iCAKD;iCACA;6BACJ;oCACC;AA0F7B,MAAMA,aAAa,IAAIC;AAUvB,SAASC,SACPC,MAAsC,EACtCC,IAAY,EACZC,EAAU,EACVC,OAAwB,EACxBC,UAAoC,EACpCC,WAAoB;IAEpB,IAAI,OAAOC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