{"ast":null,"code":"const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"meno di un secondo\",\n    other: \"meno di {{count}} secondi\"\n  },\n  xSeconds: {\n    one: \"un secondo\",\n    other: \"{{count}} secondi\"\n  },\n  halfAMinute: \"alcuni secondi\",\n  lessThanXMinutes: {\n    one: \"meno di un minuto\",\n    other: \"meno di {{count}} minuti\"\n  },\n  xMinutes: {\n    one: \"un minuto\",\n    other: \"{{count}} minuti\"\n  },\n  aboutXHours: {\n    one: \"circa un'ora\",\n    other: \"circa {{count}} ore\"\n  },\n  xHours: {\n    one: \"un'ora\",\n    other: \"{{count}} ore\"\n  },\n  xDays: {\n    one: \"un giorno\",\n    other: \"{{count}} giorni\"\n  },\n  aboutXWeeks: {\n    one: \"circa una settimana\",\n    other: \"circa {{count}} settimane\"\n  },\n  xWeeks: {\n    one: \"una settimana\",\n    other: \"{{count}} settimane\"\n  },\n  aboutXMonths: {\n    one: \"circa un mese\",\n    other: \"circa {{count}} mesi\"\n  },\n  xMonths: {\n    one: \"un mese\",\n    other: \"{{count}} mesi\"\n  },\n  aboutXYears: {\n    one: \"circa un anno\",\n    other: \"circa {{count}} anni\"\n  },\n  xYears: {\n    one: \"un anno\",\n    other: \"{{count}} anni\"\n  },\n  overXYears: {\n    one: \"più di un anno\",\n    other: \"più di {{count}} anni\"\n  },\n  almostXYears: {\n    one: \"quasi un anno\",\n    other: \"quasi {{count}} anni\"\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}}\", count.toString());\n  }\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"tra \" + result;\n    } else {\n      return result + \" fa\";\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","toString","addSuffix","comparison"],"sources":["/root/rfcontavagas_hom/12.-Servidor-local-Docker/Front-Parking-Angular/node_modules/date-fns/locale/it/_lib/formatDistance.mjs"],"sourcesContent":["const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"meno di un secondo\",\n    other: \"meno di {{count}} secondi\",\n  },\n\n  xSeconds: {\n    one: \"un secondo\",\n    other: \"{{count}} secondi\",\n  },\n\n  halfAMinute: \"alcuni secondi\",\n\n  lessThanXMinutes: {\n    one: \"meno di un minuto\",\n    other: \"meno di {{count}} minuti\",\n  },\n\n  xMinutes: {\n    one: \"un minuto\",\n    other: \"{{count}} minuti\",\n  },\n\n  aboutXHours: {\n    one: \"circa un'ora\",\n    other: \"circa {{count}} ore\",\n  },\n\n  xHours: {\n    one: \"un'ora\",\n    other: \"{{count}} ore\",\n  },\n\n  xDays: {\n    one: \"un giorno\",\n    other: \"{{count}} giorni\",\n  },\n\n  aboutXWeeks: {\n    one: \"circa una settimana\",\n    other: \"circa {{count}} settimane\",\n  },\n\n  xWeeks: {\n    one: \"una settimana\",\n    other: \"{{count}} settimane\",\n  },\n\n  aboutXMonths: {\n    one: \"circa un mese\",\n    other: \"circa {{count}} mesi\",\n  },\n\n  xMonths: {\n    one: \"un mese\",\n    other: \"{{count}} mesi\",\n  },\n\n  aboutXYears: {\n    one: \"circa un anno\",\n    other: \"circa {{count}} anni\",\n  },\n\n  xYears: {\n    one: \"un anno\",\n    other: \"{{count}} anni\",\n  },\n\n  overXYears: {\n    one: \"più di un anno\",\n    other: \"più di {{count}} anni\",\n  },\n\n  almostXYears: {\n    one: \"quasi un anno\",\n    other: \"quasi {{count}} anni\",\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}}\", count.toString());\n  }\n\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"tra \" + result;\n    } else {\n      return result + \" fa\";\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,YAAY;IACjBC,KAAK,EAAE;EACT,CAAC;EAEDE,WAAW,EAAE,gBAAgB;EAE7BC,gBAAgB,EAAE;IAChBJ,GAAG,EAAE,mBAAmB;IACxBC,KAAK,EAAE;EACT,CAAC;EAEDI,QAAQ,EAAE;IACRL,GAAG,EAAE,WAAW;IAChBC,KAAK,EAAE;EACT,CAAC;EAEDK,WAAW,EAAE;IACXN,GAAG,EAAE,cAAc;IACnBC,KAAK,EAAE;EACT,CAAC;EAEDM,MAAM,EAAE;IACNP,GAAG,EAAE,QAAQ;IACbC,KAAK,EAAE;EACT,CAAC;EAEDO,KAAK,EAAE;IACLR,GAAG,EAAE,WAAW;IAChBC,KAAK,EAAE;EACT,CAAC;EAEDQ,WAAW,EAAE;IACXT,GAAG,EAAE,qBAAqB;IAC1BC,KAAK,EAAE;EACT,CAAC;EAEDS,MAAM,EAAE;IACNV,GAAG,EAAE,eAAe;IACpBC,KAAK,EAAE;EACT,CAAC;EAEDU,YAAY,EAAE;IACZX,GAAG,EAAE,eAAe;IACpBC,KAAK,EAAE;EACT,CAAC;EAEDW,OAAO,EAAE;IACPZ,GAAG,EAAE,SAAS;IACdC,KAAK,EAAE;EACT,CAAC;EAEDY,WAAW,EAAE;IACXb,GAAG,EAAE,eAAe;IACpBC,KAAK,EAAE;EACT,CAAC;EAEDa,MAAM,EAAE;IACNd,GAAG,EAAE,SAAS;IACdC,KAAK,EAA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