{"ast":null,"code":"const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"nas lugha na diog\",\n    other: \"nas lugha na {{count}} diogan\"\n  },\n  xSeconds: {\n    one: \"1 diog\",\n    two: \"2 dhiog\",\n    twenty: \"20 diog\",\n    other: \"{{count}} diogan\"\n  },\n  halfAMinute: \"leth mhionaid\",\n  lessThanXMinutes: {\n    one: \"nas lugha na mionaid\",\n    other: \"nas lugha na {{count}} mionaidean\"\n  },\n  xMinutes: {\n    one: \"1 mionaid\",\n    two: \"2 mhionaid\",\n    twenty: \"20 mionaid\",\n    other: \"{{count}} mionaidean\"\n  },\n  aboutXHours: {\n    one: \"mu uair de thìde\",\n    other: \"mu {{count}} uairean de thìde\"\n  },\n  xHours: {\n    one: \"1 uair de thìde\",\n    two: \"2 uair de thìde\",\n    twenty: \"20 uair de thìde\",\n    other: \"{{count}} uairean de thìde\"\n  },\n  xDays: {\n    one: \"1 là\",\n    other: \"{{count}} là\"\n  },\n  aboutXWeeks: {\n    one: \"mu 1 seachdain\",\n    other: \"mu {{count}} seachdainean\"\n  },\n  xWeeks: {\n    one: \"1 seachdain\",\n    other: \"{{count}} seachdainean\"\n  },\n  aboutXMonths: {\n    one: \"mu mhìos\",\n    other: \"mu {{count}} mìosan\"\n  },\n  xMonths: {\n    one: \"1 mìos\",\n    other: \"{{count}} mìosan\"\n  },\n  aboutXYears: {\n    one: \"mu bhliadhna\",\n    other: \"mu {{count}} bliadhnaichean\"\n  },\n  xYears: {\n    one: \"1 bhliadhna\",\n    other: \"{{count}} bliadhna\"\n  },\n  overXYears: {\n    one: \"còrr is bliadhna\",\n    other: \"còrr is {{count}} bliadhnaichean\"\n  },\n  almostXYears: {\n    one: \"cha mhòr bliadhna\",\n    other: \"cha mhòr {{count}} bliadhnaichean\"\n  }\n};\nexport const formatDistance = (token, count, options) => {\n  let result;\n  const tokenValue = formatDistanceLocale[token];\n  if (typeof tokenValue === \"string\") {\n    result = tokenValue;\n  } else if (count === 1) {\n    result = tokenValue.one;\n  } else if (count === 2 && !!tokenValue.two) {\n    result = tokenValue.two;\n  } else if (count === 20 && !!tokenValue.twenty) {\n    result = tokenValue.twenty;\n  } else {\n    result = tokenValue.other.replace(\"{{count}}\", String(count));\n  }\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"ann an \" + result;\n    } else {\n      return \"o chionn \" + result;\n    }\n  }\n  return result;\n};","map":{"version":3,"names":["formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","two","twenty","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","options","result","tokenValue","replace","String","addSuffix","comparison"],"sources":["/root/rfcontavagas_hom/12.-Servidor-local-Docker/Front-Parking-Angular/node_modules/date-fns/locale/gd/_lib/formatDistance.mjs"],"sourcesContent":["const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"nas lugha na diog\",\n    other: \"nas lugha na {{count}} diogan\",\n  },\n\n  xSeconds: {\n    one: \"1 diog\",\n    two: \"2 dhiog\",\n    twenty: \"20 diog\",\n    other: \"{{count}} diogan\",\n  },\n\n  halfAMinute: \"leth mhionaid\",\n\n  lessThanXMinutes: {\n    one: \"nas lugha na mionaid\",\n    other: \"nas lugha na {{count}} mionaidean\",\n  },\n\n  xMinutes: {\n    one: \"1 mionaid\",\n    two: \"2 mhionaid\",\n    twenty: \"20 mionaid\",\n    other: \"{{count}} mionaidean\",\n  },\n\n  aboutXHours: {\n    one: \"mu uair de thìde\",\n    other: \"mu {{count}} uairean de thìde\",\n  },\n\n  xHours: {\n    one: \"1 uair de thìde\",\n    two: \"2 uair de thìde\",\n    twenty: \"20 uair de thìde\",\n    other: \"{{count}} uairean de thìde\",\n  },\n\n  xDays: {\n    one: \"1 là\",\n    other: \"{{count}} là\",\n  },\n\n  aboutXWeeks: {\n    one: \"mu 1 seachdain\",\n    other: \"mu {{count}} seachdainean\",\n  },\n\n  xWeeks: {\n    one: \"1 seachdain\",\n    other: \"{{count}} seachdainean\",\n  },\n\n  aboutXMonths: {\n    one: \"mu mhìos\",\n    other: \"mu {{count}} mìosan\",\n  },\n\n  xMonths: {\n    one: \"1 mìos\",\n    other: \"{{count}} mìosan\",\n  },\n\n  aboutXYears: {\n    one: \"mu bhliadhna\",\n    other: \"mu {{count}} bliadhnaichean\",\n  },\n\n  xYears: {\n    one: \"1 bhliadhna\",\n    other: \"{{count}} bliadhna\",\n  },\n\n  overXYears: {\n    one: \"còrr is bliadhna\",\n    other: \"còrr is {{count}} bliadhnaichean\",\n  },\n\n  almostXYears: {\n    one: \"cha mhòr bliadhna\",\n    other: \"cha mhòr {{count}} bliadhnaichean\",\n  },\n};\n\nexport const formatDistance = (token, count, options) => {\n  let result;\n\n  const tokenValue = formatDistanceLocale[token];\n  if (typeof tokenValue === \"string\") {\n    result = tokenValue;\n  } else if (count === 1) {\n    result = tokenValue.one;\n  } else if (count === 2 && !!tokenValue.two) {\n    result = tokenValue.two;\n  } else if (count === 20 && !!tokenValue.twenty) {\n    result = tokenValue.twenty;\n  } else {\n    result = tokenValue.other.replace(\"{{count}}\", String(count));\n  }\n\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"ann an \" + result;\n    } else {\n      return \"o chionn \" + result;\n    }\n  }\n\n  return result;\n};\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAG;EAC3BC,gBAAgB,EAAE;IAChBC,GAAG,EAAE,mBAAmB;IACxBC,KAAK,EAAE;EACT,CAAC;EAEDC,QAAQ,EAAE;IACRF,GAAG,EAAE,QAAQ;IACbG,GAAG,EAAE,SAAS;IACdC,MAAM,EAAE,SAAS;IACjBH,KAAK,EAAE;EACT,CAAC;EAEDI,WAAW,EAAE,eAAe;EAE5BC,gBAAgB,EAAE;IAChBN,GAAG,EAAE,sBAAsB;IAC3BC,KAAK,EAAE;EACT,CAAC;EAEDM,QAAQ,EAAE;IACRP,GAAG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