{"ast":null,"code":"const formatDistanceLocale = {\n  lessThanXSeconds: {\n    standalone: {\n      one: \"vähem kui üks sekund\",\n      other: \"vähem kui {{count}} sekundit\"\n    },\n    withPreposition: {\n      one: \"vähem kui ühe sekundi\",\n      other: \"vähem kui {{count}} sekundi\"\n    }\n  },\n  xSeconds: {\n    standalone: {\n      one: \"üks sekund\",\n      other: \"{{count}} sekundit\"\n    },\n    withPreposition: {\n      one: \"ühe sekundi\",\n      other: \"{{count}} sekundi\"\n    }\n  },\n  halfAMinute: {\n    standalone: \"pool minutit\",\n    withPreposition: \"poole minuti\"\n  },\n  lessThanXMinutes: {\n    standalone: {\n      one: \"vähem kui üks minut\",\n      other: \"vähem kui {{count}} minutit\"\n    },\n    withPreposition: {\n      one: \"vähem kui ühe minuti\",\n      other: \"vähem kui {{count}} minuti\"\n    }\n  },\n  xMinutes: {\n    standalone: {\n      one: \"üks minut\",\n      other: \"{{count}} minutit\"\n    },\n    withPreposition: {\n      one: \"ühe minuti\",\n      other: \"{{count}} minuti\"\n    }\n  },\n  aboutXHours: {\n    standalone: {\n      one: \"umbes üks tund\",\n      other: \"umbes {{count}} tundi\"\n    },\n    withPreposition: {\n      one: \"umbes ühe tunni\",\n      other: \"umbes {{count}} tunni\"\n    }\n  },\n  xHours: {\n    standalone: {\n      one: \"üks tund\",\n      other: \"{{count}} tundi\"\n    },\n    withPreposition: {\n      one: \"ühe tunni\",\n      other: \"{{count}} tunni\"\n    }\n  },\n  xDays: {\n    standalone: {\n      one: \"üks päev\",\n      other: \"{{count}} päeva\"\n    },\n    withPreposition: {\n      one: \"ühe päeva\",\n      other: \"{{count}} päeva\"\n    }\n  },\n  aboutXWeeks: {\n    standalone: {\n      one: \"umbes üks nädal\",\n      other: \"umbes {{count}} nädalat\"\n    },\n    withPreposition: {\n      one: \"umbes ühe nädala\",\n      other: \"umbes {{count}} nädala\"\n    }\n  },\n  xWeeks: {\n    standalone: {\n      one: \"üks nädal\",\n      other: \"{{count}} nädalat\"\n    },\n    withPreposition: {\n      one: \"ühe nädala\",\n      other: \"{{count}} nädala\"\n    }\n  },\n  aboutXMonths: {\n    standalone: {\n      one: \"umbes üks kuu\",\n      other: \"umbes {{count}} kuud\"\n    },\n    withPreposition: {\n      one: \"umbes ühe kuu\",\n      other: \"umbes {{count}} kuu\"\n    }\n  },\n  xMonths: {\n    standalone: {\n      one: \"üks kuu\",\n      other: \"{{count}} kuud\"\n    },\n    withPreposition: {\n      one: \"ühe kuu\",\n      other: \"{{count}} kuu\"\n    }\n  },\n  aboutXYears: {\n    standalone: {\n      one: \"umbes üks aasta\",\n      other: \"umbes {{count}} aastat\"\n    },\n    withPreposition: {\n      one: \"umbes ühe aasta\",\n      other: \"umbes {{count}} aasta\"\n    }\n  },\n  xYears: {\n    standalone: {\n      one: \"üks aasta\",\n      other: \"{{count}} aastat\"\n    },\n    withPreposition: {\n      one: \"ühe aasta\",\n      other: \"{{count}} aasta\"\n    }\n  },\n  overXYears: {\n    standalone: {\n      one: \"rohkem kui üks aasta\",\n      other: \"rohkem kui {{count}} aastat\"\n    },\n    withPreposition: {\n      one: \"rohkem kui ühe aasta\",\n      other: \"rohkem kui {{count}} aasta\"\n    }\n  },\n  almostXYears: {\n    standalone: {\n      one: \"peaaegu üks aasta\",\n      other: \"peaaegu {{count}} aastat\"\n    },\n    withPreposition: {\n      one: \"peaaegu ühe aasta\",\n      other: \"peaaegu {{count}} aasta\"\n    }\n  }\n};\nexport const formatDistance = (token, count, options) => {\n  const usageGroup = options?.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone;\n  let result;\n  if (typeof usageGroup === \"string\") {\n    result = usageGroup;\n  } else if (count === 1) {\n    result = usageGroup.one;\n  } else {\n    result = usageGroup.other.replace(\"{{count}}\", String(count));\n  }\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return result + \" pärast\";\n    } else {\n      return result + \" eest\";\n    }\n  }\n  return result;\n};","map":{"version":3,"names":["formatDistanceLocale","lessThanXSeconds","standalone","one","other","withPreposition","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","options","usageGroup","addSuffix","result","replace","String","comparison"],"sources":["/root/rfcontavagas_hom/12.-Servidor-local-Docker/Front-Parking-Angular/node_modules/date-fns/locale/et/_lib/formatDistance.mjs"],"sourcesContent":["const formatDistanceLocale = {\n  lessThanXSeconds: {\n    standalone: {\n      one: \"vähem kui üks sekund\",\n      other: \"vähem kui {{count}} sekundit\",\n    },\n    withPreposition: {\n      one: \"vähem kui ühe sekundi\",\n      other: \"vähem kui {{count}} sekundi\",\n    },\n  },\n\n  xSeconds: {\n    standalone: {\n      one: \"üks sekund\",\n      other: \"{{count}} sekundit\",\n    },\n    withPreposition: {\n      one: \"ühe sekundi\",\n      other: \"{{count}} sekundi\",\n    },\n  },\n\n  halfAMinute: {\n    standalone: \"pool minutit\",\n    withPreposition: \"poole minuti\",\n  },\n\n  lessThanXMinutes: {\n    standalone: {\n      one: \"vähem kui üks minut\",\n      other: \"vähem kui {{count}} minutit\",\n    },\n    withPreposition: {\n      one: \"vähem kui ühe minuti\",\n      other: \"vähem kui {{count}} minuti\",\n    },\n  },\n\n  xMinutes: {\n    standalone: {\n      one: \"üks minut\",\n      other: \"{{count}} minutit\",\n    },\n    withPreposition: {\n      one: \"ühe minuti\",\n      other: \"{{count}} minuti\",\n    },\n  },\n\n  aboutXHours: {\n    standalone: {\n      one: \"umbes üks tund\",\n      other: \"umbes {{count}} tundi\",\n    },\n    withPreposition: {\n      one: \"umbes ühe tunni\",\n      other: \"umbes {{count}} tunni\",\n    },\n  },\n\n  xHours: {\n    standalone: {\n      one: \"üks tund\",\n      other: \"{{count}} tundi\",\n    },\n    withPreposition: {\n      one: \"ühe tunni\",\n      other: \"{{count}} tunni\",\n    },\n  },\n\n  xDays: {\n    standalone: {\n      one: \"üks päev\",\n      other: \"{{count}} päeva\",\n    },\n    withPreposition: {\n      one: \"ühe päeva\",\n      other: \"{{count}} päeva\",\n    },\n  },\n\n  aboutXWeeks: {\n    standalone: {\n      one: \"umbes üks nädal\",\n      other: \"umbes {{count}} nädalat\",\n    },\n    withPreposition: {\n      one: \"umbes ühe nädala\",\n      other: \"umbes {{count}} nädala\",\n    },\n  },\n\n  xWeeks: {\n    standalone: {\n      one: \"üks nädal\",\n      other: \"{{count}} nädalat\",\n    },\n    withPreposition: {\n      one: \"ühe nädala\",\n      other: \"{{count}} nädala\",\n    },\n  },\n\n  aboutXMonths: {\n    standalone: {\n      one: \"umbes üks kuu\",\n      other: \"umbes {{count}} kuud\",\n    },\n    withPreposition: {\n      one: \"umbes ühe kuu\",\n      other: \"umbes {{count}} kuu\",\n    },\n  },\n\n  xMonths: {\n    standalone: {\n      one: \"üks kuu\",\n      other: \"{{count}} kuud\",\n    },\n    withPreposition: {\n      one: \"ühe kuu\",\n      other: \"{{count}} kuu\",\n    },\n  },\n\n  aboutXYears: {\n    standalone: {\n      one: \"umbes üks aasta\",\n      other: \"umbes {{count}} aastat\",\n    },\n    withPreposition: {\n      one: \"umbes ühe aasta\",\n      other: \"umbes {{count}} aasta\",\n    },\n  },\n\n  xYears: {\n    standalone: {\n      one: \"üks aasta\",\n      other: \"{{count}} aastat\",\n    },\n    withPreposition: {\n      one: \"ühe aasta\",\n      other: \"{{count}} aasta\",\n    },\n  },\n\n  overXYears: {\n    standalone: {\n      one: \"rohkem kui üks aasta\",\n      other: \"rohkem kui {{count}} aastat\",\n    },\n    withPreposition: {\n      one: \"rohkem kui ühe aasta\",\n      other: \"rohkem kui {{count}} aasta\",\n    },\n  },\n\n  almostXYears: {\n    standalone: {\n      one: \"peaaegu üks aasta\",\n      other: \"peaaegu {{count}} aastat\",\n    },\n    withPreposition: {\n      one: \"peaaegu ühe aasta\",\n      other: \"peaaegu {{count}} aasta\",\n    },\n  },\n};\n\nexport const formatDistance = (token, count, options) => {\n  const usageGroup = options?.addSuffix\n    ? formatDistanceLocale[token].withPreposition\n    : formatDistanceLocale[token].standalone;\n\n  let result;\n  if (typeof usageGroup === \"string\") {\n    result = usageGroup;\n  } else if (count === 1) {\n    result = usageGroup.one;\n  } else {\n    result = usageGroup.other.replace(\"{{count}}\", String(count));\n  }\n\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return result + \" pärast\";\n    } else {\n      return result + \" eest\";\n    }\n  }\n\n  return result;\n};\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAG;EAC3BC,gBAAgB,EAAE;IAChBC,UAAU,EAAE;MACVC,GAAG,EAAE,sBAAsB;MAC3BC,KAAK,EAAE;IACT,CAAC;IACDC,eAAe,EAAE;MACfF,GAAG,EAAE,uBAAuB;MAC5BC,KAAK,EAAE;IACT;EACF,CAAC;EAEDE,QAAQ,EAAE;IACRJ,UAAU,EAAE;MACVC,GAAG,EAAE,YAAY;MACjBC,KAAK,EAAE;IACT,CAAC;IACDC,eAAe,EAAE;MACfF,GAAG,EAAE,aAAa;MAClBC,KAAK,EAAE;IACT;EACF,CAAC;EAEDG,WAAW,EAAE;IACXL,UAAU,EAAE,cAAc;IAC1BG,eAAe,EAAE;EACnB,CAAC;EAEDG,gBAAgB,EAAE;IAChBN,UAAU,EAAE;MACVC,GAAG,EAAE,qBAAqB;MAC1BC,KAAK,EAAE;IACT,CAAC;IACDC,eAAe,EAAE;MACfF,GAAG,EAAE,sBAAsB;MAC3BC,KAAK,EAAE;IACT;EACF,CAAC;EAEDK,QAAQ,EAAE;IACRP,UAAU,EAAE;MACVC,GAAG,EAAE,WAAW;MAChBC,KAAK,EAAE;IACT,CAAC;IACDC,eAAe,EAAE;MACfF,GAAG,EAAE,YAAY;MACjBC,KAAK,EAAE;IACT;EACF,CAAC;EAEDM,WAAW,EAAE;IACXR,UAAU,EAAE;MACVC,GAAG,EAAE,gBAAgB;MACrBC,KAAK,EAAE;IACT,CAAC;IACDC,eAAe,EAAE;MACfF,GAAG,EA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