Rocky_Mountain_Vending/.pnpm-store/v10/files/5a/92c0d293af536887b8de46df273ff294f209dc70499ce8d3428f69c2d0b1725eb34f24639ff069a4afaa7b49fe7ba1407b16e1dea0f5ba53fa8583452d85ee
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
7 KiB
Text

{"version":3,"sources":["../../../src/build/webpack/utils.ts"],"sourcesContent":["import type {\n Compilation,\n Chunk,\n ChunkGroup,\n NormalModule,\n Module,\n ModuleGraph,\n Compiler,\n} from 'webpack'\nimport type { ModuleGraphConnection } from 'webpack'\nimport { getAppLoader } from '../entries'\nimport { spans as webpackCompilationSpans } from './plugins/profiling-plugin'\nimport { compilationSpans as rspackCompilationSpans } from './plugins/rspack-profiling-plugin'\nimport type { Span } from '../../trace'\n\nexport function traverseModules(\n compilation: Compilation,\n callback: (\n mod: any,\n chunk: Chunk,\n chunkGroup: (typeof compilation.chunkGroups)[0],\n modId: string | null\n ) => any,\n filterChunkGroup?: (chunkGroup: ChunkGroup) => boolean\n) {\n compilation.chunkGroups.forEach((chunkGroup) => {\n if (filterChunkGroup && !filterChunkGroup(chunkGroup)) {\n return\n }\n chunkGroup.chunks.forEach((chunk: Chunk) => {\n const chunkModules = compilation.chunkGraph.getChunkModulesIterable(\n chunk\n // TODO: Update type so that it doesn't have to be cast.\n ) as Iterable<NormalModule>\n for (const mod of chunkModules) {\n const modId = compilation.chunkGraph.getModuleId(mod)?.toString()\n if (modId) callback(mod, chunk, chunkGroup, modId)\n const anyModule = mod as any\n if (anyModule.modules) {\n for (const subMod of anyModule.modules)\n if (modId) callback(subMod, chunk, chunkGroup, modId)\n }\n }\n })\n })\n}\n\n// Loop over all the entry modules.\nexport function forEachEntryModule(\n compilation: any,\n callback: ({ name, entryModule }: { name: string; entryModule: any }) => void\n) {\n for (const [name, entry] of compilation.entries.entries()) {\n // Skip for entries under pages/\n if (name.startsWith('pages/')) {\n continue\n }\n\n // Check if the page entry is a server component or not.\n const entryDependency: NormalModule | undefined = entry.dependencies?.[0]\n // Ensure only next-app-loader entries are handled.\n if (!entryDependency || !entryDependency.request) continue\n\n const request = entryDependency.request\n\n if (\n !request.startsWith('next-edge-ssr-loader?') &&\n !request.startsWith('next-edge-app-route-loader?') &&\n !request.startsWith(`${getAppLoader()}?`)\n )\n continue\n\n let entryModule: NormalModule =\n compilation.moduleGraph.getResolvedModule(entryDependency)\n\n if (\n request.startsWith('next-edge-ssr-loader?') ||\n request.startsWith('next-edge-app-route-loader?')\n ) {\n entryModule.dependencies.forEach((dependency) => {\n const modRequest: string | undefined = (dependency as any).request\n if (modRequest?.includes(getAppLoader())) {\n entryModule = compilation.moduleGraph.getResolvedModule(dependency)\n }\n })\n }\n\n callback({ name, entryModule })\n }\n}\n\nexport function formatBarrelOptimizedResource(\n resource: string,\n matchResource: string\n) {\n return `${resource}@${matchResource}`\n}\n\nexport function getModuleReferencesInOrder(\n module: Module,\n moduleGraph: ModuleGraph\n): ModuleGraphConnection[] {\n if (\n 'getOutgoingConnectionsInOrder' in moduleGraph &&\n typeof moduleGraph.getOutgoingConnectionsInOrder === 'function'\n ) {\n return moduleGraph.getOutgoingConnectionsInOrder(module)\n }\n const connections = []\n for (const connection of moduleGraph.getOutgoingConnections(module)) {\n if (connection.dependency && connection.module) {\n connections.push({\n connection,\n index: moduleGraph.getParentBlockIndex(connection.dependency),\n })\n }\n }\n connections.sort((a, b) => a.index - b.index)\n return connections.map((c) => c.connection)\n}\n\nexport function getCompilationSpan(\n compilation: Compiler | Compilation\n): Span | undefined {\n const compilationSpans = process.env.NEXT_RSPACK\n ? rspackCompilationSpans\n : webpackCompilationSpans\n\n return compilationSpans.get(compilation)\n}\n"],"names":["forEachEntryModule","formatBarrelOptimizedResource","getCompilationSpan","getModuleReferencesInOrder","traverseModules","compilation","callback","filterChunkGroup","chunkGroups","forEach","chunkGroup","chunks","chunk","chunkModules","chunkGraph","getChunkModulesIterable","mod","modId","getModuleId","toString","anyModule","modules","subMod","name","entry","entries","startsWith","entryDependency","dependencies","request","getAppLoader","entryModule","moduleGraph","getResolvedModule","dependency","modRequest","includes","resource","matchResource","module","getOutgoingConnectionsInOrder","connections","connection","getOutgoingConnections","push","index","getParentBlockIndex","sort","a","b","map","c","compilationSpans","process","env","NEXT_RSPACK","rspackCompilationSpans","webpackCompilationSpans","get"],"mappings":";;;;;;;;;;;;;;;;;;IAgDgBA,kBAAkB;eAAlBA;;IA2CAC,6BAA6B;eAA7BA;;IA8BAC,kBAAkB;eAAlBA;;IAvBAC,0BAA0B;eAA1BA;;IAnFAC,eAAe;eAAfA;;;yBALa;iCACoB;uCACU;AAGpD,SAASA,gBACdC,WAAwB,EACxBC,QAKQ,EACRC,gBAAsD;IAEtDF,YAAYG,WAAW,CAACC,OAAO,CAAC,CAACC;QAC/B,IAAIH,oBAAoB,CAACA,iBAAiBG,aAAa;YACrD;QACF;QACAA,WAAWC,MAAM,CAACF,OAAO,CAAC,CAACG;YACzB,MAAMC,eAAeR,YAAYS,UAAU,CAACC,uBAAuB,CACjEH;YAGF,KAAK,MAAMI,OAAOH,aAAc;oBAChBR;gBAAd,MAAMY,SAAQZ,sCAAAA,YAAYS,UAAU,CAACI,WAAW,CAACF,yBAAnCX,oCAAyCc,QAAQ;gBAC/D,IAAIF,OAAOX,SAASU,KAAKJ,OAAOF,YAAYO;gBAC5C,MAAMG,YAAYJ;gBAClB,IAAII,UAAUC,OAAO,EAAE;oBACrB,KAAK,MAAMC,UAAUF,UAAUC,OAAO,CACpC,IAAIJ,OAAOX,SAASgB,QAAQV,OAAOF,YAAYO;gBACnD;YACF;QACF;IACF;AACF;AAGO,SAASjB,mBACdK,WAAgB,EAChBC,QAA6E;IAE7E,KAAK,MAAM,CAACiB,MAAMC,MAAM,IAAInB,YAA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