Rocky_Mountain_Vending/.pnpm-store/v10/files/91/24d76fc6cfac7a74b502503570544679d771c4167dc9472433d7850f4ff85f82a76e6b2b5f9d851d5126b971f45f187e8869252b814cb4d132e778174698c2
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
2.4 KiB
Text

{"version":3,"sources":["../../src/client/get-domain-locale.ts"],"sourcesContent":["import type { DomainLocale } from '../server/config'\nimport type { normalizeLocalePath as NormalizeFn } from './normalize-locale-path'\nimport type { detectDomainLocale as DetectFn } from './detect-domain-locale'\nimport { normalizePathTrailingSlash } from './normalize-trailing-slash'\n\nconst basePath = (process.env.__NEXT_ROUTER_BASEPATH as string) || ''\n\nexport function getDomainLocale(\n path: string,\n locale?: string | false,\n locales?: readonly string[],\n domainLocales?: readonly DomainLocale[]\n) {\n if (process.env.__NEXT_I18N_SUPPORT) {\n const normalizeLocalePath: typeof NormalizeFn = (\n require('./normalize-locale-path') as typeof import('./normalize-locale-path')\n ).normalizeLocalePath\n const detectDomainLocale: typeof DetectFn = (\n require('./detect-domain-locale') as typeof import('./detect-domain-locale')\n ).detectDomainLocale\n\n const target = locale || normalizeLocalePath(path, locales).detectedLocale\n const domain = detectDomainLocale(domainLocales, undefined, target)\n if (domain) {\n const proto = `http${domain.http ? '' : 's'}://`\n const finalLocale = target === domain.defaultLocale ? '' : `/${target}`\n return `${proto}${domain.domain}${normalizePathTrailingSlash(\n `${basePath}${finalLocale}${path}`\n )}`\n }\n return false\n } else {\n return false\n }\n}\n"],"names":["getDomainLocale","basePath","process","env","__NEXT_ROUTER_BASEPATH","path","locale","locales","domainLocales","__NEXT_I18N_SUPPORT","normalizeLocalePath","require","detectDomainLocale","target","detectedLocale","domain","undefined","proto","http","finalLocale","defaultLocale","normalizePathTrailingSlash"],"mappings":";;;;+BAOgBA;;;eAAAA;;;wCAJ2B;AAE3C,MAAMC,WAAW,AAACC,QAAQC,GAAG,CAACC,sBAAsB,IAAe;AAE5D,SAASJ,gBACdK,IAAY,EACZC,MAAuB,EACvBC,OAA2B,EAC3BC,aAAuC;IAEvC,IAAIN,QAAQC,GAAG,CAACM,mBAAmB,EAAE;QACnC,MAAMC,sBAA0C,AAC9CC,QAAQ,2BACRD,mBAAmB;QACrB,MAAME,qBAAsC,AAC1CD,QAAQ,0BACRC,kBAAkB;QAEpB,MAAMC,SAASP,UAAUI,oBAAoBL,MAAME,SAASO,cAAc;QAC1E,MAAMC,SAASH,mBAAmBJ,eAAeQ,WAAWH;QAC5D,IAAIE,QAAQ;YACV,MAAME,QAAQ,CAAC,IAAI,EAAEF,OAAOG,IAAI,GAAG,KAAK,IAAI,GAAG,CAAC;YAChD,MAAMC,cAAcN,WAAWE,OAAOK,aAAa,GAAG,KAAK,CAAC,CAAC,EAAEP,QAAQ;YACvE,OAAO,GAAGI,QAAQF,OAAOA,MAAM,GAAGM,IAAAA,kDAA0B,EAC1D,GAAGpB,WAAWkB,cAAcd,MAAM,GACjC;QACL;QACA,OAAO;IACT,OAAO;QACL,OAAO;IACT;AACF","ignoreList":[0]}