{"version":3,"file":"adapter-BbqZKi2F.cjs","names":["defineComponent","h","isPlainClick","joinBase","pathSegments","queryString","_i18n_micro_core","_i18n_micro_utils_locale_head","vue","splitPathAndExtras","hashIndex","path","queryIndex","cut","stripSiteBase","base","normalized","pathname","extras","buildUrlPrefixToCode","keyFromCode","key","mapped","localeKeyToCode","code","defaultLocale","prefixToCode","localeCodes","urlKey","getLocaleFromPath","first","routeNameFromPath","segments","name","createVitePressLinkComponent","href","toHref","props","e","go","slots","createVitePressRouterAdapter","options","locales","loc","localeKeyToCodeSnapshot","urlPrefixes","siteBase","codeFromLocaleKey","localeKey","localeKeyFromCode","urlPrefixForCode","stripPrefix","hadTrailingSlash","removeLocaleFromPath","clean","localizePath","prefix","locale","localized","switchLocalePath","newLocale","resolvePath","to","navigate","replace","currentFullPath","getPath","target","url"],"sources":["../src/router/adapter.ts"],"sourcesContent":["import { isPlainClick, pathSegments } from '@i18n-micro/core'\nimport type { Locale } from '@i18n-micro/types'\nimport type { I18nRoutingStrategy, I18nRouteTarget } from '@i18n-micro/vue'\nimport { joinBase, queryString } from '@i18n-micro/utils/locale-head'\nimport { defineComponent, h, type Component, type PropType } from 'vue'\n\nexport interface VitePressRouterLike {\n  route: {\n    path: string\n    hash?: string\n    query?: string\n  }\n  go: (to: string, options?: { initialLoad?: boolean; replace?: boolean }) => void | Promise<void>\n  onAfterRouteChange?: (to: string) => unknown\n  /** The only name VitePress calls before 1.6. */\n  onAfterRouteChanged?: (to: string) => unknown\n}\n\nexport type VitePressGo = (href: string, options?: { replace?: boolean }) => void | Promise<void>\n\nexport interface VitePressRouterAdapterOptions {\n  locales: Locale[]\n  defaultLocale: string\n  /**\n   * Map VitePress locale keys (`root`, `fr`) to i18n locale codes.\n   * Defaults: `root` → `defaultLocale`, other keys → same string as the key.\n   * URL prefixes always use VitePress keys; i18n uses codes.\n   */\n  localeKeyToCode?: Record<string, string>\n  /**\n   * VitePress `site.base` (e.g. `/openapi_docs/`). Stripped from paths before\n   * locale / route-name detection. Returned localize paths are base-relative\n   * (VitePress / `withBase` re-applies the base).\n   */\n  base?: string\n  getPath?: () => string\n  go?: VitePressGo\n}\n\nexport interface VitePressRouterAdapter extends I18nRoutingStrategy {\n  getLocaleFromPath: (path: string) => string\n  switchLocalePath: (path: string, newLocale: string) => string\n  localizePath: (path: string, locale: string) => string\n  removeLocaleFromPath: (path: string) => string\n  /** Page dictionary route name (`/fr/guide/demo` → `guide-demo`). */\n  routeNameFromPath: (path: string) => string\n  /** Resolve VitePress locale key (`root` / `fr`) to i18n code. */\n  codeFromLocaleKey: (localeKey: string) => string\n  /** Resolve i18n code to VitePress locale key. */\n  localeKeyFromCode: (code: string) => string\n  localeCodes: string[]\n  defaultLocale: string\n  /** Snapshot of mapping used when building the adapter (for `i18nRouting` serialization). */\n  localeKeyToCode: Record<string, string>\n  /** URL path prefixes (VitePress locale keys except `root`). */\n  urlPrefixes: string[]\n  /** VitePress `site.base` used when constructing this adapter (may be undefined). */\n  base?: string\n}\n\n/** Path helpers exposed on `createI18n` instances (slice of the router adapter). */\nexport type PathMethods = Pick<\n  VitePressRouterAdapter,\n  'localizePath' | 'switchLocalePath' | 'getLocaleFromPath' | 'removeLocaleFromPath' | 'routeNameFromPath'\n>\n\nfunction splitPathAndExtras(path: string): { pathname: string; extras: string } {\n  const hashIndex = path.indexOf('#')\n  const queryIndex = path.indexOf('?')\n  let cut = path.length\n  if (hashIndex >= 0) cut = Math.min(cut, hashIndex)\n  if (queryIndex >= 0) cut = Math.min(cut, queryIndex)\n  return {\n    pathname: path.slice(0, cut) || '/',\n    extras: path.slice(cut),\n  }\n}\n\n/**\n * Strip VitePress `site.base` from a path. Leaves query/hash intact.\n * No-op when `base` is missing or `/`.\n */\nexport function stripSiteBase(path: string, base?: string): string {\n  if (!base || base === '/') return path\n  const normalized = base.endsWith('/') ? base.slice(0, -1) : base\n  if (!normalized) return path\n  const { pathname, extras } = splitPathAndExtras(path)\n  if (pathname === normalized) return `/${extras}`\n  if (pathname.startsWith(`${normalized}/`)) {\n    return `${pathname.slice(normalized.length) || '/'}${extras}`\n  }\n  return path\n}\n\n/**\n * Build URL prefix → i18n code map.\n * Prefixes are VitePress locale keys (and codes when they differ), never `root`.\n */\nexport function buildUrlPrefixToCode(\n  localeCodes: string[],\n  defaultLocale: string,\n  localeKeyToCode: Record<string, string> = {},\n): Map<string, string> {\n  const keyFromCode = (code: string): string => {\n    for (const [key, mapped] of Object.entries(localeKeyToCode)) {\n      if (mapped === code) return key\n    }\n    if (code === defaultLocale) return 'root'\n    return code\n  }\n\n  const prefixToCode = new Map<string, string>()\n  for (const code of localeCodes) {\n    if (code === defaultLocale) continue\n    const key = keyFromCode(code)\n    const urlKey = key === 'root' ? code : key\n    prefixToCode.set(urlKey, code)\n    if (urlKey !== code) prefixToCode.set(code, code)\n  }\n  return prefixToCode\n}\n\n/**\n * Detect i18n locale code from a URL path (prefix_except_default).\n * Path prefixes are VitePress locale keys; return value is the i18n code.\n * Pass `base` when the path may include VitePress `site.base` (SSG).\n */\nexport function getLocaleFromPath(\n  path: string,\n  localeCodes: string[],\n  defaultLocale: string,\n  localeKeyToCode: Record<string, string> = {},\n  base?: string,\n): string {\n  const { pathname } = splitPathAndExtras(stripSiteBase(path, base))\n  const first = pathname.split('/').filter(Boolean)[0]\n  if (first === undefined) return defaultLocale\n  const prefixToCode = buildUrlPrefixToCode(localeCodes, defaultLocale, localeKeyToCode)\n  return prefixToCode.get(first) ?? defaultLocale\n}\n\n/**\n * Route name for page-scoped dictionaries (`/guide/demo` → `guide-demo`).\n * Strips VitePress URL prefixes (keys), not only raw i18n codes.\n *\n * When `defaultLocale` is omitted (legacy 2-arg call), any segment that matches a\n * listed locale code is stripped — callers must not rely on `localeCodes[0]` as default.\n */\nexport function routeNameFromPath(\n  path: string,\n  localeCodes: string[],\n  defaultLocale?: string,\n  localeKeyToCode: Record<string, string> = {},\n  base?: string,\n): string {\n  const { pathname } = splitPathAndExtras(stripSiteBase(path, base))\n  const segments = pathname.split('/').filter(Boolean)\n  const first = segments[0]\n  if (first !== undefined) {\n    if (defaultLocale !== undefined) {\n      const prefixToCode = buildUrlPrefixToCode(localeCodes, defaultLocale, localeKeyToCode)\n      if (prefixToCode.has(first)) segments.shift()\n    } else if (localeCodes.includes(first)) {\n      segments.shift()\n    }\n  }\n  if (segments.length === 0) return 'index'\n  const name = segments.join('-')\n  return name.endsWith('.html') ? name.slice(0, -5) : name\n}\n\nfunction createVitePressLinkComponent(toHref: (path: string) => string, go?: VitePressGo): Component {\n  return defineComponent({\n    name: 'VitePressI18nLink',\n    props: {\n      to: { type: String, required: true },\n      style: { type: Object as PropType<Record<string, string>>, default: undefined },\n    },\n    setup(props, { slots }) {\n      return () => {\n        const href = toHref(props.to)\n        return h(\n          'a',\n          {\n            href,\n            style: props.style,\n            onClick: (e: MouseEvent) => {\n              if (!isPlainClick(e)) return\n              e.preventDefault()\n              if (go) {\n                void go(href)\n              } else if (typeof window !== 'undefined') {\n                window.location.assign(href)\n              }\n            },\n          },\n          slots.default?.(),\n        )\n      }\n    },\n  })\n}\n\n/**\n * VitePress path adapter (prefix_except_default semantics):\n * default locale has no URL prefix; other locales use `/{vitepressKey}/…`.\n * i18n locale values remain `locale.code` (via `localeKeyToCode`).\n */\nexport function createVitePressRouterAdapter(options: VitePressRouterAdapterOptions): VitePressRouterAdapter {\n  const { locales, defaultLocale, localeKeyToCode = {}, base, getPath, go } = options\n  const localeCodes = locales.map((loc) => loc.code)\n  const localeKeyToCodeSnapshot = { ...localeKeyToCode }\n  const prefixToCode = buildUrlPrefixToCode(localeCodes, defaultLocale, localeKeyToCodeSnapshot)\n  const urlPrefixes = [...prefixToCode.keys()]\n  const siteBase = base && base !== '/' ? base : undefined\n  /** Our paths are relative to the site base; VitePress `go` and the address bar are not. */\n  const toHref = (path: string): string => (siteBase ? joinBase(siteBase, path) : path)\n\n  const codeFromLocaleKey = (localeKey: string): string => {\n    if (localeKeyToCodeSnapshot[localeKey]) return localeKeyToCodeSnapshot[localeKey]!\n    if (localeKey === 'root') return defaultLocale\n    return localeKey\n  }\n\n  const localeKeyFromCode = (code: string): string => {\n    for (const [key, mapped] of Object.entries(localeKeyToCodeSnapshot)) {\n      if (mapped === code) return key\n    }\n    if (code === defaultLocale) return 'root'\n    return code\n  }\n\n  const urlPrefixForCode = (code: string): string | null => {\n    if (code === defaultLocale) return null\n    const key = localeKeyFromCode(code)\n    return key === 'root' ? code : key\n  }\n\n  const stripPrefix = (pathname: string): { segments: string[]; hadTrailingSlash: boolean } => {\n    const hadTrailingSlash = pathname === '/' || pathname.endsWith('/')\n    const segments = pathSegments(pathname)\n    const first = segments[0]\n    if (first !== undefined && prefixToCode.has(first)) {\n      segments.shift()\n    }\n    return { segments, hadTrailingSlash }\n  }\n\n  const removeLocaleFromPath = (path: string): string => {\n    const { pathname, extras } = splitPathAndExtras(stripSiteBase(path, siteBase))\n    const { segments, hadTrailingSlash } = stripPrefix(pathname)\n    let clean = segments.length === 0 ? '/' : `/${segments.join('/')}`\n    if (clean !== '/' && hadTrailingSlash) clean += '/'\n    return `${clean}${extras}`\n  }\n\n  const localizePath = (path: string, locale: string): string => {\n    const { pathname, extras } = splitPathAndExtras(stripSiteBase(path, siteBase))\n    const { segments, hadTrailingSlash } = stripPrefix(pathname)\n    const prefix = urlPrefixForCode(locale)\n    if (prefix) segments.unshift(prefix)\n    let localized = segments.length === 0 ? '/' : `/${segments.join('/')}`\n    if (localized !== '/' && hadTrailingSlash) localized += '/'\n    return `${localized}${extras}`\n  }\n\n  const switchLocalePath = (path: string, newLocale: string): string => {\n    return localizePath(path, newLocale)\n  }\n\n  const resolvePath = (to: I18nRouteTarget, locale: string): string => {\n    const path = typeof to === 'string' ? to : `${to.path || '/'}${queryString(to.query)}${to.hash ?? ''}`\n    return localizePath(path, locale)\n  }\n\n  const navigate = (path: string, replace = false) => {\n    const href = toHref(path)\n    if (go) {\n      void go(href, { replace })\n      return\n    }\n    if (typeof window !== 'undefined') {\n      if (replace) {\n        window.location.replace(href)\n      } else {\n        window.location.assign(href)\n      }\n    }\n  }\n\n  const currentFullPath = (): string => {\n    if (getPath) return getPath()\n    if (typeof window !== 'undefined') {\n      return window.location.pathname + window.location.search + window.location.hash\n    }\n    return '/'\n  }\n\n  return {\n    localeCodes,\n    defaultLocale,\n    localeKeyToCode: localeKeyToCodeSnapshot,\n    urlPrefixes,\n    base: siteBase,\n    codeFromLocaleKey,\n    localeKeyFromCode,\n    getLocaleFromPath: (path: string) => getLocaleFromPath(path, localeCodes, defaultLocale, localeKeyToCodeSnapshot, siteBase),\n    switchLocalePath,\n    localizePath,\n    removeLocaleFromPath,\n    routeNameFromPath: (path: string) => routeNameFromPath(path, localeCodes, defaultLocale, localeKeyToCodeSnapshot, siteBase),\n    linkComponent: createVitePressLinkComponent(toHref, go),\n    toHref,\n    getCurrentPath: () => stripSiteBase(currentFullPath(), siteBase),\n    push: (target: { path: string }) => {\n      navigate(target.path, false)\n    },\n    replace: (target: { path: string }) => {\n      navigate(target.path, true)\n    },\n    resolvePath,\n    getRoute: () => {\n      const path = stripSiteBase(currentFullPath(), siteBase)\n      const url = typeof window !== 'undefined' ? new URL(path, window.location.origin) : new URL(path, 'http://localhost')\n      return {\n        fullPath: url.pathname + url.search + url.hash,\n        query: Object.fromEntries(url.searchParams),\n      }\n    },\n  }\n}\n"],"mappings":"A,8FAkEA,SAASS,EAAmB,EAAoD,CAC9E,IAAMC,EAAYC,EAAK,QAAQ,GAAG,EAC5BC,EAAaD,EAAK,QAAQ,GAAG,EAC/BE,EAAMF,EAAK,OAGf,OAFID,GAAa,IAAG,EAAM,KAAK,IAAIG,EAAKH,CAAS,GAC7CE,GAAc,IAAG,EAAM,KAAK,IAAIC,EAAKD,CAAU,GAC5C,CACL,SAAUD,EAAK,MAAM,EAAGE,CAAG,GAAK,IAChC,OAAQF,EAAK,MAAME,CAAG,CACxB,CACF,CAMA,SAAgBC,EAAc,EAAc,EAAuB,CACjE,GAAI,CAACC,GAAQA,IAAS,IAAK,OAAOJ,EA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