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>
22 lines
671 B
Text
22 lines
671 B
Text
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.nonPassive = void 0;
|
|
var passiveSupported = false;
|
|
if (typeof window !== 'undefined') {
|
|
try {
|
|
var options = Object.defineProperty({}, 'passive', {
|
|
get: function () {
|
|
passiveSupported = true;
|
|
return true;
|
|
},
|
|
});
|
|
// @ts-ignore
|
|
window.addEventListener('test', options, options);
|
|
// @ts-ignore
|
|
window.removeEventListener('test', options, options);
|
|
}
|
|
catch (err) {
|
|
passiveSupported = false;
|
|
}
|
|
}
|
|
exports.nonPassive = passiveSupported ? { passive: false } : false;
|