{"ast":null,"code":"const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"inqas minn sekonda\",\n    other: \"inqas minn {{count}} sekondi\"\n  },\n  xSeconds: {\n    one: \"sekonda\",\n    other: \"{{count}} sekondi\"\n  },\n  halfAMinute: \"nofs minuta\",\n  lessThanXMinutes: {\n    one: \"inqas minn minuta\",\n    other: \"inqas minn {{count}} minuti\"\n  },\n  xMinutes: {\n    one: \"minuta\",\n    other: \"{{count}} minuti\"\n  },\n  aboutXHours: {\n    one: \"madwar siegħa\",\n    other: \"madwar {{count}} siegħat\"\n  },\n  xHours: {\n    one: \"siegħa\",\n    other: \"{{count}} siegħat\"\n  },\n  xDays: {\n    one: \"ġurnata\",\n    other: \"{{count}} ġranet\"\n  },\n  aboutXWeeks: {\n    one: \"madwar ġimgħa\",\n    other: \"madwar {{count}} ġimgħat\"\n  },\n  xWeeks: {\n    one: \"ġimgħa\",\n    other: \"{{count}} ġimgħat\"\n  },\n  aboutXMonths: {\n    one: \"madwar xahar\",\n    other: \"madwar {{count}} xhur\"\n  },\n  xMonths: {\n    one: \"xahar\",\n    other: \"{{count}} xhur\"\n  },\n  aboutXYears: {\n    one: \"madwar sena\",\n    two: \"madwar sentejn\",\n    other: \"madwar {{count}} snin\"\n  },\n  xYears: {\n    one: \"sena\",\n    two: \"sentejn\",\n    other: \"{{count}} snin\"\n  },\n  overXYears: {\n    one: \"aktar minn sena\",\n    two: \"aktar minn sentejn\",\n    other: \"aktar minn {{count}} snin\"\n  },\n  almostXYears: {\n    one: \"kważi sena\",\n    two: \"kważi sentejn\",\n    other: \"kważi {{count}} snin\"\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 {\n    result = tokenValue.other.replace(\"{{count}}\", String(count));\n  }\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"f'\" + result;\n    } else {\n      return result + \" ilu\";\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","two","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/mt/_lib/formatDistance.mjs"],"sourcesContent":["const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"inqas minn sekonda\",\n    other: \"inqas minn {{count}} sekondi\",\n  },\n\n  xSeconds: {\n    one: \"sekonda\",\n    other: \"{{count}} sekondi\",\n  },\n\n  halfAMinute: \"nofs minuta\",\n\n  lessThanXMinutes: {\n    one: \"inqas minn minuta\",\n    other: \"inqas minn {{count}} minuti\",\n  },\n\n  xMinutes: {\n    one: \"minuta\",\n    other: \"{{count}} minuti\",\n  },\n\n  aboutXHours: {\n    one: \"madwar siegħa\",\n    other: \"madwar {{count}} siegħat\",\n  },\n\n  xHours: {\n    one: \"siegħa\",\n    other: \"{{count}} siegħat\",\n  },\n\n  xDays: {\n    one: \"ġurnata\",\n    other: \"{{count}} ġranet\",\n  },\n\n  aboutXWeeks: {\n    one: \"madwar ġimgħa\",\n    other: \"madwar {{count}} ġimgħat\",\n  },\n\n  xWeeks: {\n    one: \"ġimgħa\",\n    other: \"{{count}} ġimgħat\",\n  },\n\n  aboutXMonths: {\n    one: \"madwar xahar\",\n    other: \"madwar {{count}} xhur\",\n  },\n\n  xMonths: {\n    one: \"xahar\",\n    other: \"{{count}} xhur\",\n  },\n\n  aboutXYears: {\n    one: \"madwar sena\",\n    two: \"madwar sentejn\",\n    other: \"madwar {{count}} snin\",\n  },\n\n  xYears: {\n    one: \"sena\",\n    two: \"sentejn\",\n    other: \"{{count}} snin\",\n  },\n\n  overXYears: {\n    one: \"aktar minn sena\",\n    two: \"aktar minn sentejn\",\n    other: \"aktar minn {{count}} snin\",\n  },\n\n  almostXYears: {\n    one: \"kważi sena\",\n    two: \"kważi sentejn\",\n    other: \"kważi {{count}} snin\",\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 {\n    result = tokenValue.other.replace(\"{{count}}\", String(count));\n  }\n\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"f'\" + result;\n    } else {\n      return result + \" ilu\";\n    }\n  }\n\n  return result;\n};\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAG;EAC3BC,gBAAgB,EAAE;IAChBC,GAAG,EAAE,oBAAoB;IACzBC,KAAK,EAAE;EACT,CAAC;EAEDC,QAAQ,EAAE;IACRF,GAAG,EAAE,SAAS;IACdC,KAAK,EAAE;EACT,CAAC;EAEDE,WAAW,EAAE,aAAa;EAE1BC,gBAAgB,EAAE;IAChBJ,GAAG,EAAE,mBAAmB;IACxBC,KAAK,EAAE;EACT,CAAC;EAEDI,QAAQ,EAAE;IACRL,GAAG,EAAE,QAAQ;IACbC,KAAK,EAAE;EACT,CAAC;EAEDK,WAAW,EAAE;IACXN,GAAG,EAAE,eAAe;IACpBC,KAAK,EAAE;EACT,CAAC;EAEDM,MAAM,EAAE;IACNP,GAAG,EAAE,QAAQ;IACbC,KAAK,EAAE;EACT,CAAC;EAEDO,KAAK,EAAE;IACLR,GAAG,EAAE,SAAS;IACdC,KAAK,EAAE;EACT,CAAC;EAEDQ,WAAW,EAAE;IACXT,GAAG,EAAE,eAAe;IACpBC,KAAK,EAAE;EACT,CAAC;EAEDS,MAAM,EAAE;IACNV,GAAG,EAAE,QAAQ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