{"ast":null,"code":"const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"bir saniyeden az\",\n    other: \"{{count}} saniyeden az\"\n  },\n  xSeconds: {\n    one: \"1 saniye\",\n    other: \"{{count}} saniye\"\n  },\n  halfAMinute: \"yarım dakika\",\n  lessThanXMinutes: {\n    one: \"bir dakikadan az\",\n    other: \"{{count}} dakikadan az\"\n  },\n  xMinutes: {\n    one: \"1 dakika\",\n    other: \"{{count}} dakika\"\n  },\n  aboutXHours: {\n    one: \"yaklaşık 1 saat\",\n    other: \"yaklaşık {{count}} saat\"\n  },\n  xHours: {\n    one: \"1 saat\",\n    other: \"{{count}} saat\"\n  },\n  xDays: {\n    one: \"1 gün\",\n    other: \"{{count}} gün\"\n  },\n  aboutXWeeks: {\n    one: \"yaklaşık 1 hafta\",\n    other: \"yaklaşık {{count}} hafta\"\n  },\n  xWeeks: {\n    one: \"1 hafta\",\n    other: \"{{count}} hafta\"\n  },\n  aboutXMonths: {\n    one: \"yaklaşık 1 ay\",\n    other: \"yaklaşık {{count}} ay\"\n  },\n  xMonths: {\n    one: \"1 ay\",\n    other: \"{{count}} ay\"\n  },\n  aboutXYears: {\n    one: \"yaklaşık 1 yıl\",\n    other: \"yaklaşık {{count}} yıl\"\n  },\n  xYears: {\n    one: \"1 yıl\",\n    other: \"{{count}} yıl\"\n  },\n  overXYears: {\n    one: \"1 yıldan fazla\",\n    other: \"{{count}} yıldan fazla\"\n  },\n  almostXYears: {\n    one: \"neredeyse 1 yıl\",\n    other: \"neredeyse {{count}} yıl\"\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 result + \" sonra\";\n    } else {\n      return result + \" önce\";\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/tr/_lib/formatDistance.mjs"],"sourcesContent":["const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"bir saniyeden az\",\n    other: \"{{count}} saniyeden az\",\n  },\n\n  xSeconds: {\n    one: \"1 saniye\",\n    other: \"{{count}} saniye\",\n  },\n\n  halfAMinute: \"yarım dakika\",\n\n  lessThanXMinutes: {\n    one: \"bir dakikadan az\",\n    other: \"{{count}} dakikadan az\",\n  },\n\n  xMinutes: {\n    one: \"1 dakika\",\n    other: \"{{count}} dakika\",\n  },\n\n  aboutXHours: {\n    one: \"yaklaşık 1 saat\",\n    other: \"yaklaşık {{count}} saat\",\n  },\n\n  xHours: {\n    one: \"1 saat\",\n    other: \"{{count}} saat\",\n  },\n\n  xDays: {\n    one: \"1 gün\",\n    other: \"{{count}} gün\",\n  },\n\n  aboutXWeeks: {\n    one: \"yaklaşık 1 hafta\",\n    other: \"yaklaşık {{count}} hafta\",\n  },\n\n  xWeeks: {\n    one: \"1 hafta\",\n    other: \"{{count}} hafta\",\n  },\n\n  aboutXMonths: {\n    one: \"yaklaşık 1 ay\",\n    other: \"yaklaşık {{count}} ay\",\n  },\n\n  xMonths: {\n    one: \"1 ay\",\n    other: \"{{count}} ay\",\n  },\n\n  aboutXYears: {\n    one: \"yaklaşık 1 yıl\",\n    other: \"yaklaşık {{count}} yıl\",\n  },\n\n  xYears: {\n    one: \"1 yıl\",\n    other: \"{{count}} yıl\",\n  },\n\n  overXYears: {\n    one: \"1 yıldan fazla\",\n    other: \"{{count}} yıldan fazla\",\n  },\n\n  almostXYears: {\n    one: \"neredeyse 1 yıl\",\n    other: \"neredeyse {{count}} yıl\",\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 result + \" sonra\";\n    } else {\n      return result + \" önce\";\n    }\n  }\n\n  return result;\n};\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAG;EAC3BC,gBAAgB,EAAE;IAChBC,GAAG,EAAE,kBAAkB;IACvBC,KAAK,EAAE;EACT,CAAC;EAEDC,QAAQ,EAAE;IACRF,GAAG,EAAE,UAAU;IACfC,KAAK,EAAE;EACT,CAAC;EAEDE,WAAW,EAAE,cAAc;EAE3BC,gBAAgB,EAAE;IAChBJ,GAAG,EAAE,kBAAkB;IACvBC,KAAK,EAAE;EACT,CAAC;EAEDI,QAAQ,EAAE;IACRL,GAAG,EAAE,UAAU;IACfC,KAAK,EAAE;EACT,CAAC;EAEDK,WAAW,EAAE;IACXN,GAAG,EAAE,iBAAiB;IACtBC,KAAK,EAAE;EACT,CAAC;EAEDM,MAAM,EAAE;IACNP,GAAG,EAAE,QAAQ;IACbC,KAAK,EAAE;EACT,CAAC;EAEDO,KAAK,EAAE;IACLR,GAAG,EAAE,OAAO;IACZC,KAAK,EAAE;EACT,CAAC;EAEDQ,WAAW,EAAE;IACXT,GAAG,EAAE,kBAAkB;IACvBC,KAAK,EAAE;EACT,CAAC;EAEDS,MAAM,EAAE;IACNV,GAAG,EAAE,SAAS;IACdC,KAAK,EAAE;EACT,CAAC;EAEDU,YAAY,EAAE;IACZX,GAAG,EAAE,eAAe;IACpBC,KAAK,EAAE;EACT,CAAC;EAEDW,OAAO,EAAE;IACPZ,GAAG,EAAE,MAAM;IACXC,KAAK,EAAE;E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