/opt/canhelp/node_modules/next/dist/client/components
NameSizeModeActions
builtin/-0755rm
errors/-0755rm
http-access-fallback/-0755rm
metadata/-0755rm
router-reducer/-0755rm
segment-cache-impl/-0755rm
styles/-0755rm
app-router-announcer.d.ts1960644editdlrm
app-router-announcer.js33520644editdlrm
app-router-announcer.js.map46780644editdlrm
app-router-headers.d.ts12430644editdlrm
app-router-headers.js37970644editdlrm
app-router-headers.js.map31100644editdlrm
app-router-instance.d.ts20810644editdlrm
app-router-instance.js144320644editdlrm
app-router-instance.js.map211790644editdlrm
app-router.d.ts9320644editdlrm
app-router.js249870644editdlrm
app-router.js.map348630644editdlrm
bailout-to-client-rendering.d.ts800644editdlrm
bailout-to-client-rendering.js18770644editdlrm
bailout-to-client-rendering.js.map16650644editdlrm
bfcache.d.ts13970644editdlrm
bfcache.js40350644editdlrm
bfcache.js.map63760644editdlrm
client-page.d.ts8760644editdlrm
client-page.js26030644editdlrm
client-page.js.map39070644editdlrm
client-segment.d.ts8420644editdlrm
client-segment.js21920644editdlrm
client-segment.js.map30870644editdlrm
dev-root-http-access-fallback-boundary.d.ts2300644editdlrm
dev-root-http-access-fallback-boundary.js18620644editdlrm
dev-root-http-access-fallback-boundary.js.map12900644editdlrm
error-boundary.d.ts15660644editdlrm
error-boundary.js54990644editdlrm
error-boundary.js.map74090644editdlrm
forbidden.d.ts440644editdlrm
forbidden.js20770644editdlrm
forbidden.js.map19860644editdlrm
handle-isr-error.d.ts780644editdlrm
handle-isr-error.js10850644editdlrm
handle-isr-error.js.map12950644editdlrm
hooks-server-context.d.ts3260644editdlrm
hooks-server-context.js13520644editdlrm
hooks-server-context.js.map11820644editdlrm
is-next-router-error.d.ts4310644editdlrm
is-next-router-error.js8860644editdlrm
is-next-router-error.js.map8990644editdlrm
layout-router.d.ts9990644editdlrm
layout-router.js279470644editdlrm
layout-router.js.map377010644editdlrm
links.d.ts22410644editdlrm
links.js140530644editdlrm
links.js.map210560644editdlrm
match-segments.d.ts1540644editdlrm
match-segments.js10540644editdlrm
match-segments.js.map10450644editdlrm
nav-failure-handler.d.ts1230644editdlrm
nav-failure-handler.js24920644editdlrm
nav-failure-handler.js.map28680644editdlrm
navigation-untracked.d.ts110644editdlrm
navigation-untracked.js26070644editdlrm
navigation-untracked.js.map33490644editdlrm
navigation.d.ts46350644editdlrm
navigation.js79420644editdlrm
navigation.js.map127130644editdlrm
navigation.react-server.d.ts12380644editdlrm
navigation.react-server.js35010644editdlrm
navigation.react-server.js.map28380644editdlrm
noop-head.d.ts420644editdlrm
noop-head.js6070644editdlrm
noop-head.js.map2490644editdlrm
not-found.d.ts430644editdlrm
not-found.js18880644editdlrm
not-found.js.map17500644editdlrm
promise-queue.d.ts1920644editdlrm
promise-queue.js42740644editdlrm
promise-queue.js.map36070644editdlrm
redirect-boundary.d.ts7760644editdlrm
redirect-boundary.js32700644editdlrm
redirect-boundary.js.map39750644editdlrm
redirect-error.d.ts6330644editdlrm
redirect-error.js18190644editdlrm
redirect-error.js.map21240644editdlrm
redirect-status-code.d.ts1200644editdlrm
redirect-status-code.js9670644editdlrm
redirect-status-code.js.map3300644editdlrm
redirect.d.ts24690644editdlrm
redirect.js37460644editdlrm
redirect.js.map59190644editdlrm
render-from-template-context.d.ts1000644editdlrm
render-from-template-context.js11700644editdlrm
render-from-template-context.js.map6450644editdlrm
segment-cache.d.ts34980644editdlrm
segment-cache.js76110644editdlrm
segment-cache.js.map89460644editdlrm
static-generation-bailout.d.ts2050644editdlrm
static-generation-bailout.js13020644editdlrm
static-generation-bailout.js.map9260644editdlrm
unauthorized.d.ts470644editdlrm
unauthorized.js21100644editdlrm
unauthorized.js.map20180644editdlrm
unrecognized-action-error.d.ts7900644editdlrm
unrecognized-action-error.js12440644editdlrm
unrecognized-action-error.js.map15020644editdlrm
unresolved-thenable.d.ts1830644editdlrm
unresolved-thenable.js7690644editdlrm
unresolved-thenable.js.map4500644editdlrm
unstable-rethrow.browser.d.ts640644editdlrm
unstable-rethrow.browser.js10110644editdlrm
unstable-rethrow.browser.js.map8320644editdlrm
unstable-rethrow.d.ts5910644editdlrm
unstable-rethrow.js12500644editdlrm
unstable-rethrow.js.map11220644editdlrm
unstable-rethrow.server.d.ts640644editdlrm
unstable-rethrow.server.js15210644editdlrm
unstable-rethrow.server.js.map15050644editdlrm
use-action-queue.d.ts3300644editdlrm
use-action-queue.js29030644editdlrm
use-action-queue.js.map33000644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/client/components/navigation-untracked.js.map (3349B)
{"version":3,"sources":["../../../src/client/components/navigation-untracked.ts"],"sourcesContent":["import { useContext } from 'react'\nimport { PathnameContext } from '../../shared/lib/hooks-client-context.shared-runtime'\n\n/**\n * This checks to see if the current render has any unknown route parameters.\n * It's used to trigger a different render path in the error boundary.\n *\n * @returns true if there are any unknown route parameters, false otherwise\n */\nfunction hasFallbackRouteParams(): boolean {\n if (typeof window === 'undefined') {\n // AsyncLocalStorage should not be included in the client bundle.\n const { workUnitAsyncStorage } =\n require('../../server/app-render/work-unit-async-storage.external') as typeof import('../../server/app-render/work-unit-async-storage.external')\n\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (!workUnitStore) return false\n\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n const fallbackParams = workUnitStore.fallbackRouteParams\n return fallbackParams ? fallbackParams.size > 0 : false\n case 'prerender-legacy':\n case 'request':\n case 'prerender-runtime':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n\n return false\n }\n\n return false\n}\n\n/**\n * This returns a `null` value if there are any unknown route parameters, and\n * otherwise returns the pathname from the context. This is an alternative to\n * `usePathname` that is used in the error boundary to avoid rendering the\n * error boundary when there are unknown route parameters. This doesn't throw\n * when accessed with unknown route parameters.\n *\n * @returns\n *\n * @internal\n */\nexport function useUntrackedPathname(): string | null {\n // If there are any unknown route parameters we would typically throw\n // an error, but this internal method allows us to return a null value instead\n // for components that do not propagate the pathname to the static shell (like\n // the error boundary).\n if (hasFallbackRouteParams()) {\n return null\n }\n\n // This shouldn't cause any issues related to conditional rendering because\n // the environment will be consistent for the render.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return useContext(PathnameContext)\n}\n"],"names":["useUntrackedPathname","hasFallbackRouteParams","window","workUnitAsyncStorage","require","workUnitStore","getStore","type","fallbackParams","fallbackRouteParams","size","useContext","PathnameContext"],"mappings":";;;;+BAoDgBA;;;eAAAA;;;uBApDW;iDACK;AAEhC;;;;;CAKC,GACD,SAASC;IACP,IAAI,OAAOC,WAAW,aAAa;QACjC,iEAAiE;QACjE,MAAM,EAAEC,oBAAoB,EAAE,GAC5BC,QAAQ;QAEV,MAAMC,gBAAgBF,qBAAqBG,QAAQ;QACnD,IAAI,CAACD,eAAe,OAAO;QAE3B,OAAQA,cAAcE,IAAI;YACxB,KAAK;YACL,KAAK;YACL,KAAK;gBACH,MAAMC,iBAAiBH,cAAcI,mBAAmB;gBACxD,OAAOD,iBAAiBA,eAAeE,IAAI,GAAG,IAAI;YACpD,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;gBACH;YACF;gBACEL;QACJ;QAEA,OAAO;IACT;IAEA,OAAO;AACT;AAaO,SAASL;IACd,qEAAqE;IACrE,8EAA8E;IAC9E,8EAA8E;IAC9E,uBAAuB;IACvB,IAAIC,0BAA0B;QAC5B,OAAO;IACT;IAEA,2EAA2E;IAC3E,qDAAqD;IACrD,sDAAsD;IACtD,OAAOU,IAAAA,iBAAU,EAACC,gDAAe;AACnC","ignoreList":[0]}