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>
26 lines
No EOL
500 B
Text
26 lines
No EOL
500 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
exports.shuffler = shuffler;
|
|
|
|
var _default = shuffler(Math.random);
|
|
|
|
exports.default = _default;
|
|
|
|
function shuffler(random) {
|
|
return function shuffle(array, i0 = 0, i1 = array.length) {
|
|
let m = i1 - (i0 = +i0);
|
|
|
|
while (m) {
|
|
const i = random() * m-- | 0,
|
|
t = array[m + i0];
|
|
array[m + i0] = array[i + i0];
|
|
array[i + i0] = t;
|
|
}
|
|
|
|
return array;
|
|
};
|
|
} |