Rocky_Mountain_Vending/.pnpm-store/v10/files/da/1f0da0b05909e67c678c7a2320091de81bb1db94ee8cabd862930cabee46f272fd2efc646af1e4cb69d3996f7ceb7b0804aa8ced79b083ff22e9276968aece
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

32 lines
No EOL
949 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "SegmentPrefixRSCPathnameNormalizer", {
enumerable: true,
get: function() {
return SegmentPrefixRSCPathnameNormalizer;
}
});
const _constants = require("../../../lib/constants");
const PATTERN = new RegExp(`^(/.*)${_constants.RSC_SEGMENTS_DIR_SUFFIX}(/.*)${_constants.RSC_SEGMENT_SUFFIX}$`);
class SegmentPrefixRSCPathnameNormalizer {
match(pathname) {
return PATTERN.test(pathname);
}
extract(pathname) {
const match = pathname.match(PATTERN);
if (!match) return null;
return {
originalPathname: match[1],
segmentPath: match[2]
};
}
normalize(pathname) {
const match = this.extract(pathname);
if (!match) return pathname;
return match.originalPathname;
}
}
//# sourceMappingURL=segment-prefix-rsc.js.map