Rocky_Mountain_Vending/.pnpm-store/v10/files/2a/aace7bce69b20d15b884c3100ce1d50439ccbd70ac711503b77480eba4154a14e8d84410a8721e901d2e7d313dd6e9b75d4e98b4d8932fcb48ce44629530fe
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

21 lines
626 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultNumberOption = DefaultNumberOption;
/**
* https://tc39.es/ecma402/#sec-defaultnumberoption
* @param val
* @param min
* @param max
* @param fallback
*/
function DefaultNumberOption(inputVal, min, max, fallback) {
if (inputVal === undefined) {
// @ts-expect-error
return fallback;
}
var val = Number(inputVal);
if (isNaN(val) || val < min || val > max) {
throw new RangeError("".concat(val, " is outside of range [").concat(min, ", ").concat(max, "]"));
}
return Math.floor(val);
}