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>
29 lines
No EOL
577 B
Text
29 lines
No EOL
577 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = number;
|
|
exports.numbers = numbers;
|
|
|
|
function number(x) {
|
|
return x === null ? NaN : +x;
|
|
}
|
|
|
|
function* numbers(values, valueof) {
|
|
if (valueof === undefined) {
|
|
for (let value of values) {
|
|
if (value != null && (value = +value) >= value) {
|
|
yield value;
|
|
}
|
|
}
|
|
} else {
|
|
let index = -1;
|
|
|
|
for (let value of values) {
|
|
if ((value = valueof(value, ++index, values)) != null && (value = +value) >= value) {
|
|
yield value;
|
|
}
|
|
}
|
|
}
|
|
} |