Rocky_Mountain_Vending/.pnpm-store/v10/files/3b/1eee057aeb768bb41af3e68075e7aea905b9324457b2c9e657053e1b33dde6303d50f14191f384bc3fc85c5b6de9e2d115943c1eb5df8c625fab4c1d758220
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
4.2 KiB
Text

{"version":3,"sources":["../../../src/server/node-environment-extensions/console-file.tsx"],"sourcesContent":["import { consoleAsyncStorage } from '../app-render/console-async-storage.external'\nimport { getFileLogger } from '../dev/browser-logs/file-logger'\nimport { formatConsoleArgs } from '../../client/lib/console'\n\ntype InterceptableConsoleMethod =\n | 'error'\n | 'assert'\n | 'debug'\n | 'dir'\n | 'dirxml'\n | 'group'\n | 'groupCollapsed'\n | 'groupEnd'\n | 'info'\n | 'log'\n | 'table'\n | 'trace'\n | 'warn'\n\n// Based on https://github.com/facebook/react/blob/28dc0776be2e1370fe217549d32aee2519f0cf05/packages/react-server/src/ReactFlightServer.js#L248\nfunction patchConsoleMethodDEV(methodName: InterceptableConsoleMethod): void {\n const descriptor = Object.getOwnPropertyDescriptor(console, methodName)\n if (\n descriptor &&\n (descriptor.configurable || descriptor.writable) &&\n typeof descriptor.value === 'function'\n ) {\n const originalMethod = descriptor.value\n const originalName = Object.getOwnPropertyDescriptor(originalMethod, 'name')\n const wrapperMethod = function (this: typeof console, ...args: any[]) {\n const consoleStore = consoleAsyncStorage.getStore()\n\n if (consoleStore?.dim === true) {\n // In this context the log args are already dimmed. We use the console store\n // to decide if this log is ignorable for reporting in our file logger.\n return originalMethod.apply(this, args)\n } else {\n const ret = originalMethod.apply(this, args)\n\n const fileLogger = getFileLogger()\n const message = formatConsoleArgs(args)\n // Strip ANSI escape codes for file logging\n // eslint-disable-next-line no-control-regex\n const ansiEscapeRegex = new RegExp('\\u001b\\\\[[0-9;]*m', 'g')\n const cleanMessage = message.replace(ansiEscapeRegex, '')\n fileLogger.logServer(methodName.toUpperCase(), cleanMessage)\n return ret\n }\n }\n if (originalName) {\n Object.defineProperty(wrapperMethod, 'name', originalName)\n }\n Object.defineProperty(console, methodName, {\n value: wrapperMethod,\n })\n }\n}\n\nif (process.env.NODE_ENV === 'development') {\n patchConsoleMethodDEV('error')\n patchConsoleMethodDEV('assert')\n patchConsoleMethodDEV('debug')\n patchConsoleMethodDEV('dir')\n patchConsoleMethodDEV('dirxml')\n patchConsoleMethodDEV('group')\n patchConsoleMethodDEV('groupCollapsed')\n patchConsoleMethodDEV('groupEnd')\n patchConsoleMethodDEV('info')\n patchConsoleMethodDEV('log')\n patchConsoleMethodDEV('table')\n patchConsoleMethodDEV('trace')\n patchConsoleMethodDEV('warn')\n}\n"],"names":["consoleAsyncStorage","getFileLogger","formatConsoleArgs","patchConsoleMethodDEV","methodName","descriptor","Object","getOwnPropertyDescriptor","console","configurable","writable","value","originalMethod","originalName","wrapperMethod","args","consoleStore","getStore","dim","apply","ret","fileLogger","message","ansiEscapeRegex","RegExp","cleanMessage","replace","logServer","toUpperCase","defineProperty","process","env","NODE_ENV"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,+CAA8C;AAClF,SAASC,aAAa,QAAQ,kCAAiC;AAC/D,SAASC,iBAAiB,QAAQ,2BAA0B;AAiB5D,+IAA+I;AAC/I,SAASC,sBAAsBC,UAAsC;IACnE,MAAMC,aAAaC,OAAOC,wBAAwB,CAACC,SAASJ;IAC5D,IACEC,cACCA,CAAAA,WAAWI,YAAY,IAAIJ,WAAWK,QAAQ,AAAD,KAC9C,OAAOL,WAAWM,KAAK,KAAK,YAC5B;QACA,MAAMC,iBAAiBP,WAAWM,KAAK;QACvC,MAAME,eAAeP,OAAOC,wBAAwB,CAACK,gBAAgB;QACrE,MAAME,gBAAgB,SAAgC,GAAGC,IAAW;YAClE,MAAMC,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