Rocky_Mountain_Vending/.pnpm-store/v10/files/ca/8945d45889c43c4cce5cb4ed026b4e2929a01c996c4e6109fe13f9fed1e2f0b3b0f7162722b5158d3c2a71588049799866d98ec9d214d9d912599e6dc97623
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

1 line
No EOL
8.7 KiB
Text

{"version":3,"sources":["../../../src/server/node-environment-extensions/utils.tsx"],"sourcesContent":["import { workAsyncStorage } from '../app-render/work-async-storage.external'\nimport {\n workUnitAsyncStorage,\n type PrerenderStoreModern,\n} from '../app-render/work-unit-async-storage.external'\nimport {\n abortOnSynchronousPlatformIOAccess,\n trackSynchronousPlatformIOAccessInDev,\n} from '../app-render/dynamic-rendering'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\ntype ApiType = 'time' | 'random' | 'crypto'\n\nexport function io(expression: string, type: ApiType) {\n const workUnitStore = workUnitAsyncStorage.getStore()\n const workStore = workAsyncStorage.getStore()\n\n if (!workUnitStore || !workStore) {\n return\n }\n\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-runtime': {\n const prerenderSignal = workUnitStore.controller.signal\n\n if (prerenderSignal.aborted === false) {\n // If the prerender signal is already aborted we don't need to construct\n // any stacks because something else actually terminated the prerender.\n let message: string\n switch (type) {\n case 'time':\n message = `Route \"${workStore.route}\" used ${expression} before accessing either uncached data (e.g. \\`fetch()\\`) or Request data (e.g. \\`cookies()\\`, \\`headers()\\`, \\`connection()\\`, and \\`searchParams\\`). Accessing the current time in a Server Component requires reading one of these data sources first. Alternatively, consider moving this expression into a Client Component or Cache Component. See more info here: https://nextjs.org/docs/messages/next-prerender-current-time`\n break\n case 'random':\n message = `Route \"${workStore.route}\" used ${expression} before accessing either uncached data (e.g. \\`fetch()\\`) or Request data (e.g. \\`cookies()\\`, \\`headers()\\`, \\`connection()\\`, and \\`searchParams\\`). Accessing random values synchronously in a Server Component requires reading one of these data sources first. Alternatively, consider moving this expression into a Client Component or Cache Component. See more info here: https://nextjs.org/docs/messages/next-prerender-random`\n break\n case 'crypto':\n message = `Route \"${workStore.route}\" used ${expression} before accessing either uncached data (e.g. \\`fetch()\\`) or Request data (e.g. \\`cookies()\\`, \\`headers()\\`, \\`connection()\\`, and \\`searchParams\\`). Accessing random cryptographic values synchronously in a Server Component requires reading one of these data sources first. Alternatively, consider moving this expression into a Client Component or Cache Component. See more info here: https://nextjs.org/docs/messages/next-prerender-crypto`\n break\n default:\n throw new InvariantError(\n 'Unknown expression type in abortOnSynchronousPlatformIOAccess.'\n )\n }\n\n abortOnSynchronousPlatformIOAccess(\n workStore.route,\n expression,\n applyOwnerStack(new Error(message), workUnitStore),\n workUnitStore\n )\n }\n break\n }\n case 'prerender-client': {\n const prerenderSignal = workUnitStore.controller.signal\n\n if (prerenderSignal.aborted === false) {\n // If the prerender signal is already aborted we don't need to construct\n // any stacks because something else actually terminated the prerender.\n let message: string\n switch (type) {\n case 'time':\n message = `Route \"${workStore.route}\" used ${expression} inside a Client Component without a Suspense boundary above it. See more info here: https://nextjs.org/docs/messages/next-prerender-current-time-client`\n break\n case 'random':\n message = `Route \"${workStore.route}\" used ${expression} inside a Client Component without a Suspense boundary above it. See more info here: https://nextjs.org/docs/messages/next-prerender-random-client`\n break\n case 'crypto':\n message = `Route \"${workStore.route}\" used ${expression} inside a Client Component without a Suspense boundary above it. See more info here: https://nextjs.org/docs/messages/next-prerender-crypto-client`\n break\n default:\n throw new InvariantError(\n 'Unknown expression type in abortOnSynchronousPlatformIOAccess.'\n )\n }\n\n abortOnSynchronousPlatformIOAccess(\n workStore.route,\n expression,\n applyOwnerStack(new Error(message), workUnitStore),\n workUnitStore\n )\n }\n break\n }\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n trackSynchronousPlatformIOAccessInDev(workUnitStore)\n }\n break\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n}\n\nfunction applyOwnerStack(error: Error, workUnitStore: PrerenderStoreModern) {\n // TODO: Instead of stitching the stacks here, we should log the original\n // error as-is when it occurs, and let `patchErrorInspect` handle adding the\n // owner stack, instead of logging it deferred in the `LogSafely` component\n // via `throwIfDisallowedDynamic`.\n if (\n process.env.NODE_ENV !== 'production' &&\n workUnitStore.captureOwnerStack\n ) {\n const ownerStack = workUnitStore.captureOwnerStack()\n\n if (ownerStack) {\n let stack = ownerStack\n\n if (error.stack) {\n const frames: string[] = []\n\n for (const frame of error.stack.split('\\n').slice(1)) {\n if (frame.includes('react_stack_bottom_frame')) {\n break\n }\n\n frames.push(frame)\n }\n\n stack = '\\n' + frames.join('\\n') + stack\n }\n\n error.stack = error.name + ': ' + error.message + stack\n }\n }\n\n return error\n}\n"],"names":["workAsyncStorage","workUnitAsyncStorage","abortOnSynchronousPlatformIOAccess","trackSynchronousPlatformIOAccessInDev","InvariantError","io","expression","type","workUnitStore","getStore","workStore","prerenderSignal","controller","signal","aborted","message","route","applyOwnerStack","Error","process","env","NODE_ENV","error","captureOwnerStack","ownerStack","stack","frames","frame","split","slice","includes","push","join","name"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,4CAA2C;AAC5E,SACEC,oBAAoB,QAEf,iDAAgD;AACvD,SACEC,kCAAkC,EAClCC,qCAAqC,QAChC,kCAAiC;AACxC,SAASC,cAAc,QAAQ,mCAAkC;AAIjE,OAAO,SAASC,GAAGC,UAAkB,EAAEC,IAAa;IAClD,MAAMC,gBAAgBP,qBAAqBQ,QAAQ;IACnD,MAAMC,YAAYV,iBAAiBS,QAAQ;IAE3C,IAAI,CAACD,iBAAiB,CAACE,WAAW;QAChC;IACF;IAEA,OAAQF,cAAcD,IAAI;QACxB,KAAK;QACL,KAAK;YAAqB;gBACxB,MAAMI,kBAAkB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