Rocky_Mountain_Vending/.pnpm-store/v10/files/14/9136366b9dfa439169a9afce01cbf7082a24b43724e19f2e3de27b2e65d687a242e2a50590729b1a56fab960c6bc30226a5e6cb7a75b43cf9f050693117014
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

1 line
No EOL
1.3 KiB
Text

{"version":3,"sources":["../../src/client/remove-locale.ts"],"sourcesContent":["import { parsePath } from '../shared/lib/router/utils/parse-path'\n\nexport function removeLocale(path: string, locale?: string) {\n if (process.env.__NEXT_I18N_SUPPORT) {\n const { pathname } = parsePath(path)\n const pathLower = pathname.toLowerCase()\n const localeLower = locale?.toLowerCase()\n\n return locale &&\n (pathLower.startsWith(`/${localeLower}/`) ||\n pathLower === `/${localeLower}`)\n ? `${pathname.length === locale.length + 1 ? `/` : ``}${path.slice(\n locale.length + 1\n )}`\n : path\n }\n return path\n}\n"],"names":["parsePath","removeLocale","path","locale","process","env","__NEXT_I18N_SUPPORT","pathname","pathLower","toLowerCase","localeLower","startsWith","length","slice"],"mappings":"AAAA,SAASA,SAAS,QAAQ,wCAAuC;AAEjE,OAAO,SAASC,aAAaC,IAAY,EAAEC,MAAe;IACxD,IAAIC,QAAQC,GAAG,CAACC,mBAAmB,EAAE;QACnC,MAAM,EAAEC,QAAQ,EAAE,GAAGP,UAAUE;QAC/B,MAAMM,YAAYD,SAASE,WAAW;QACtC,MAAMC,cAAcP,QAAQM;QAE5B,OAAON,UACJK,CAAAA,UAAUG,UAAU,CAAC,CAAC,CAAC,EAAED,YAAY,CAAC,CAAC,KACtCF,cAAc,CAAC,CAAC,EAAEE,aAAa,AAAD,IAC9B,GAAGH,SAASK,MAAM,KAAKT,OAAOS,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,GAAGV,KAAKW,KAAK,CAC9DV,OAAOS,MAAM,GAAG,IACf,GACHV;IACN;IACA,OAAOA;AACT","ignoreList":[0]}