Rocky_Mountain_Vending/.pnpm-store/v10/files/42/6e84eb605f6c6910313f9f6c94deee6a9ec47671c32d72709dced3beb56102abb23c7f8ccf706bc368e5df2f96463200497559f22b251a67bc2371eeac230c
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

91 lines
No EOL
3 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
pipelineInSequentialTasks: null,
scheduleInSequentialTasks: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
pipelineInSequentialTasks: function() {
return pipelineInSequentialTasks;
},
scheduleInSequentialTasks: function() {
return scheduleInSequentialTasks;
}
});
const _invarianterror = require("../../shared/lib/invariant-error");
function scheduleInSequentialTasks(render, followup) {
if (process.env.NEXT_RUNTIME === 'edge') {
throw Object.defineProperty(new _invarianterror.InvariantError('`scheduleInSequentialTasks` should not be called in edge runtime.'), "__NEXT_ERROR_CODE", {
value: "E591",
enumerable: false,
configurable: true
});
} else {
return new Promise((resolve, reject)=>{
let pendingResult;
setTimeout(()=>{
try {
pendingResult = render();
} catch (err) {
reject(err);
}
}, 0);
setTimeout(()=>{
followup();
resolve(pendingResult);
}, 0);
});
}
}
function pipelineInSequentialTasks(one, two, three) {
if (process.env.NEXT_RUNTIME === 'edge') {
throw Object.defineProperty(new _invarianterror.InvariantError('`pipelineInSequentialTasks` should not be called in edge runtime.'), "__NEXT_ERROR_CODE", {
value: "E875",
enumerable: false,
configurable: true
});
} else {
return new Promise((resolve, reject)=>{
let oneResult = undefined;
setTimeout(()=>{
try {
oneResult = one();
} catch (err) {
clearTimeout(twoId);
clearTimeout(threeId);
reject(err);
}
}, 0);
let twoResult = undefined;
const twoId = setTimeout(()=>{
// if `one` threw, then this timeout would've been cleared,
// so if we got here, we're guaranteed to have a value.
try {
twoResult = two(oneResult);
} catch (err) {
clearTimeout(threeId);
reject(err);
}
}, 0);
const threeId = setTimeout(()=>{
// if `two` threw, then this timeout would've been cleared,
// so if we got here, we're guaranteed to have a value.
try {
resolve(three(twoResult));
} catch (err) {
reject(err);
}
}, 0);
});
}
}
//# sourceMappingURL=app-render-render-utils.js.map