Rocky_Mountain_Vending/.pnpm-store/v10/files/fc/56e2d870293c04dd9d37bd3d12d4c65ddc37ef12fae41ef08890fd25582bbb43d861e5c65c049bbeebebc1e6a8de681011ddd678220b76da97f31521a6cbbb
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

46 lines
No EOL
1.2 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
hasLocalMatch: null,
matchLocalPattern: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
hasLocalMatch: function() {
return hasLocalMatch;
},
matchLocalPattern: function() {
return matchLocalPattern;
}
});
const _picomatch = require("next/dist/compiled/picomatch");
function matchLocalPattern(pattern, url) {
if (pattern.search !== undefined) {
if (pattern.search !== url.search) {
return false;
}
}
if (!(0, _picomatch.makeRe)(pattern.pathname ?? '**', {
dot: true
}).test(url.pathname)) {
return false;
}
return true;
}
function hasLocalMatch(localPatterns, urlPathAndQuery) {
if (!localPatterns) {
// if the user didn't define "localPatterns", we allow all local images
return true;
}
const url = new URL(urlPathAndQuery, 'http://n');
return localPatterns.some((p)=>matchLocalPattern(p, url));
}
//# sourceMappingURL=match-local-pattern.js.map