{"ast":null,"code":"const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"segundo bat baino gutxiago\",\n    other: \"{{count}} segundo baino gutxiago\"\n  },\n  xSeconds: {\n    one: \"1 segundo\",\n    other: \"{{count}} segundo\"\n  },\n  halfAMinute: \"minutu erdi\",\n  lessThanXMinutes: {\n    one: \"minutu bat baino gutxiago\",\n    other: \"{{count}} minutu baino gutxiago\"\n  },\n  xMinutes: {\n    one: \"1 minutu\",\n    other: \"{{count}} minutu\"\n  },\n  aboutXHours: {\n    one: \"1 ordu gutxi gorabehera\",\n    other: \"{{count}} ordu gutxi gorabehera\"\n  },\n  xHours: {\n    one: \"1 ordu\",\n    other: \"{{count}} ordu\"\n  },\n  xDays: {\n    one: \"1 egun\",\n    other: \"{{count}} egun\"\n  },\n  aboutXWeeks: {\n    one: \"aste 1 inguru\",\n    other: \"{{count}} aste inguru\"\n  },\n  xWeeks: {\n    one: \"1 aste\",\n    other: \"{{count}} astean\"\n  },\n  aboutXMonths: {\n    one: \"1 hilabete gutxi gorabehera\",\n    other: \"{{count}} hilabete gutxi gorabehera\"\n  },\n  xMonths: {\n    one: \"1 hilabete\",\n    other: \"{{count}} hilabete\"\n  },\n  aboutXYears: {\n    one: \"1 urte gutxi gorabehera\",\n    other: \"{{count}} urte gutxi gorabehera\"\n  },\n  xYears: {\n    one: \"1 urte\",\n    other: \"{{count}} urte\"\n  },\n  overXYears: {\n    one: \"1 urte baino gehiago\",\n    other: \"{{count}} urte baino gehiago\"\n  },\n  almostXYears: {\n    one: \"ia 1 urte\",\n    other: \"ia {{count}} urte\"\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 {\n    result = tokenValue.other.replace(\"{{count}}\", String(count));\n  }\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"en \" + result;\n    } else {\n      return \"duela \" + result;\n    }\n  }\n  return result;\n};","map":{"version":3,"names":["formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","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/eu/_lib/formatDistance.mjs"],"sourcesContent":["const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"segundo bat baino gutxiago\",\n    other: \"{{count}} segundo baino gutxiago\",\n  },\n\n  xSeconds: {\n    one: \"1 segundo\",\n    other: \"{{count}} segundo\",\n  },\n\n  halfAMinute: \"minutu erdi\",\n\n  lessThanXMinutes: {\n    one: \"minutu bat baino gutxiago\",\n    other: \"{{count}} minutu baino gutxiago\",\n  },\n\n  xMinutes: {\n    one: \"1 minutu\",\n    other: \"{{count}} minutu\",\n  },\n\n  aboutXHours: {\n    one: \"1 ordu gutxi gorabehera\",\n    other: \"{{count}} ordu gutxi gorabehera\",\n  },\n\n  xHours: {\n    one: \"1 ordu\",\n    other: \"{{count}} ordu\",\n  },\n\n  xDays: {\n    one: \"1 egun\",\n    other: \"{{count}} egun\",\n  },\n\n  aboutXWeeks: {\n    one: \"aste 1 inguru\",\n    other: \"{{count}} aste inguru\",\n  },\n\n  xWeeks: {\n    one: \"1 aste\",\n    other: \"{{count}} astean\",\n  },\n\n  aboutXMonths: {\n    one: \"1 hilabete gutxi gorabehera\",\n    other: \"{{count}} hilabete gutxi gorabehera\",\n  },\n\n  xMonths: {\n    one: \"1 hilabete\",\n    other: \"{{count}} hilabete\",\n  },\n\n  aboutXYears: {\n    one: \"1 urte gutxi gorabehera\",\n    other: \"{{count}} urte gutxi gorabehera\",\n  },\n\n  xYears: {\n    one: \"1 urte\",\n    other: \"{{count}} urte\",\n  },\n\n  overXYears: {\n    one: \"1 urte baino gehiago\",\n    other: \"{{count}} urte baino gehiago\",\n  },\n\n  almostXYears: {\n    one: \"ia 1 urte\",\n    other: \"ia {{count}} urte\",\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 {\n    result = tokenValue.other.replace(\"{{count}}\", String(count));\n  }\n\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"en \" + result;\n    } else {\n      return \"duela \" + result;\n    }\n  }\n\n  return result;\n};\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAG;EAC3BC,gBAAgB,EAAE;IAChBC,GAAG,EAAE,4BAA4B;IACjCC,KAAK,EAAE;EACT,CAAC;EAEDC,QAAQ,EAAE;IACRF,GAAG,EAAE,WAAW;IAChBC,KAAK,EAAE;EACT,CAAC;EAEDE,WAAW,EAAE,aAAa;EAE1BC,gBAAgB,EAAE;IAChBJ,GAAG,EAAE,2BAA2B;IAChCC,KAAK,EAAE;EACT,CAAC;EAEDI,QAAQ,EAAE;IACRL,GAAG,EAAE,UAAU;IACfC,KAAK,EAAE;EACT,CAAC;EAEDK,WAAW,EAAE;IACXN,GAAG,EAAE,yBAAyB;IAC9BC,KAAK,EAAE;EACT,CAAC;EAEDM,MAAM,EAAE;IACNP,GAAG,EAAE,QAAQ;IACbC,KAAK,EAAE;EACT,CAAC;EAEDO,KAAK,EAAE;IACLR,GAAG,EAAE,QAAQ;IACbC,KAAK,EAAE;EACT,CAAC;EAEDQ,WAAW,EAAE;IACXT,GAAG,EAAE,eAAe;IACpBC,KAAK,EAAE;EACT,CAAC;EAEDS,MAAM,EAAE;IACNV,GAAG,EAAE,QAAQ;IACbC,KAAK,EAAE;EACT,CAAC;EAEDU,YAAY,EAAE;IACZX,GAAG,EAAE,6BAA6B;IAClCC,KAAK,EAAE;EACT,CAAC;EAEDW,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