Rocky_Mountain_Vending/.pnpm-store/v10/files/70/2239be730982de110fd95f3642e05f5786749c9949fddabad0e2fdaf31451f8e7dccb6b08ea678508da52fa60f01b07cc3362d5d629b9580abe2cc4779ee14
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

252 lines
No EOL
8.1 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
getCacheSignal: null,
getDraftModeProviderForCacheScope: null,
getHmrRefreshHash: null,
getPrerenderResumeDataCache: null,
getRenderResumeDataCache: null,
getRuntimeStagePromise: null,
getServerComponentsHmrCache: null,
isHmrRefresh: null,
throwForMissingRequestStore: null,
throwInvariantForMissingStore: null,
workUnitAsyncStorage: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
getCacheSignal: function() {
return getCacheSignal;
},
getDraftModeProviderForCacheScope: function() {
return getDraftModeProviderForCacheScope;
},
getHmrRefreshHash: function() {
return getHmrRefreshHash;
},
getPrerenderResumeDataCache: function() {
return getPrerenderResumeDataCache;
},
getRenderResumeDataCache: function() {
return getRenderResumeDataCache;
},
getRuntimeStagePromise: function() {
return getRuntimeStagePromise;
},
getServerComponentsHmrCache: function() {
return getServerComponentsHmrCache;
},
isHmrRefresh: function() {
return isHmrRefresh;
},
throwForMissingRequestStore: function() {
return throwForMissingRequestStore;
},
throwInvariantForMissingStore: function() {
return throwInvariantForMissingStore;
},
workUnitAsyncStorage: function() {
return _workunitasyncstorageinstance.workUnitAsyncStorageInstance;
}
});
const _workunitasyncstorageinstance = require("./work-unit-async-storage-instance");
const _approuterheaders = require("../../client/components/app-router-headers");
const _invarianterror = require("../../shared/lib/invariant-error");
function throwForMissingRequestStore(callingExpression) {
throw Object.defineProperty(new Error(`\`${callingExpression}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`), "__NEXT_ERROR_CODE", {
value: "E251",
enumerable: false,
configurable: true
});
}
function throwInvariantForMissingStore() {
throw Object.defineProperty(new _invarianterror.InvariantError('Expected workUnitAsyncStorage to have a store.'), "__NEXT_ERROR_CODE", {
value: "E696",
enumerable: false,
configurable: true
});
}
function getPrerenderResumeDataCache(workUnitStore) {
switch(workUnitStore.type){
case 'prerender':
case 'prerender-runtime':
case 'prerender-ppr':
return workUnitStore.prerenderResumeDataCache;
case 'prerender-client':
// TODO eliminate fetch caching in client scope and stop exposing this data
// cache during SSR.
return workUnitStore.prerenderResumeDataCache;
case 'request':
{
// In dev, we might fill caches even during a dynamic request.
if (workUnitStore.prerenderResumeDataCache) {
return workUnitStore.prerenderResumeDataCache;
}
// fallthrough
}
case 'prerender-legacy':
case 'cache':
case 'private-cache':
case 'unstable-cache':
return null;
default:
return workUnitStore;
}
}
function getRenderResumeDataCache(workUnitStore) {
switch(workUnitStore.type){
case 'request':
case 'prerender':
case 'prerender-runtime':
case 'prerender-client':
if (workUnitStore.renderResumeDataCache) {
// If we are in a prerender, we might have a render resume data cache
// that is used to read from prefilled caches.
return workUnitStore.renderResumeDataCache;
}
// fallthrough
case 'prerender-ppr':
// Otherwise we return the mutable resume data cache here as an immutable
// version of the cache as it can also be used for reading.
return workUnitStore.prerenderResumeDataCache ?? null;
case 'cache':
case 'private-cache':
case 'unstable-cache':
case 'prerender-legacy':
return null;
default:
return workUnitStore;
}
}
function getHmrRefreshHash(workStore, workUnitStore) {
if (workStore.dev) {
switch(workUnitStore.type){
case 'cache':
case 'private-cache':
case 'prerender':
case 'prerender-runtime':
return workUnitStore.hmrRefreshHash;
case 'request':
var _workUnitStore_cookies_get;
return (_workUnitStore_cookies_get = workUnitStore.cookies.get(_approuterheaders.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : _workUnitStore_cookies_get.value;
case 'prerender-client':
case 'prerender-ppr':
case 'prerender-legacy':
case 'unstable-cache':
break;
default:
workUnitStore;
}
}
return undefined;
}
function isHmrRefresh(workStore, workUnitStore) {
if (workStore.dev) {
switch(workUnitStore.type){
case 'cache':
case 'private-cache':
case 'request':
return workUnitStore.isHmrRefresh ?? false;
case 'prerender':
case 'prerender-client':
case 'prerender-runtime':
case 'prerender-ppr':
case 'prerender-legacy':
case 'unstable-cache':
break;
default:
workUnitStore;
}
}
return false;
}
function getServerComponentsHmrCache(workStore, workUnitStore) {
if (workStore.dev) {
switch(workUnitStore.type){
case 'cache':
case 'private-cache':
case 'request':
return workUnitStore.serverComponentsHmrCache;
case 'prerender':
case 'prerender-client':
case 'prerender-runtime':
case 'prerender-ppr':
case 'prerender-legacy':
case 'unstable-cache':
break;
default:
workUnitStore;
}
}
return undefined;
}
function getDraftModeProviderForCacheScope(workStore, workUnitStore) {
if (workStore.isDraftMode) {
switch(workUnitStore.type){
case 'cache':
case 'private-cache':
case 'unstable-cache':
case 'prerender-runtime':
case 'request':
return workUnitStore.draftMode;
case 'prerender':
case 'prerender-client':
case 'prerender-ppr':
case 'prerender-legacy':
break;
default:
workUnitStore;
}
}
return undefined;
}
function getCacheSignal(workUnitStore) {
switch(workUnitStore.type){
case 'prerender':
case 'prerender-client':
case 'prerender-runtime':
return workUnitStore.cacheSignal;
case 'request':
{
// In dev, we might fill caches even during a dynamic request.
if (workUnitStore.cacheSignal) {
return workUnitStore.cacheSignal;
}
// fallthrough
}
case 'prerender-ppr':
case 'prerender-legacy':
case 'cache':
case 'private-cache':
case 'unstable-cache':
return null;
default:
return workUnitStore;
}
}
function getRuntimeStagePromise(workUnitStore) {
switch(workUnitStore.type){
case 'prerender-runtime':
case 'private-cache':
return workUnitStore.runtimeStagePromise;
case 'prerender':
case 'prerender-client':
case 'prerender-ppr':
case 'prerender-legacy':
case 'request':
case 'cache':
case 'unstable-cache':
return null;
default:
return workUnitStore;
}
}
//# sourceMappingURL=work-unit-async-storage.external.js.map