// Module ID: 3297 // Function ID: 26074 // Name: result // Dependencies: [] // Exports: default // Module 3297 (result) let obj = { one: { standalone: "manje od 1 sekunde", withPrepositionAgo: "manje od 1 sekunde", withPrepositionIn: "manje od 1 sekundu" }, dual: "manje od {{count}} sekunde", other: "manje od {{count}} sekundi" }; obj = { one: { standalone: "1 sekunda", withPrepositionAgo: "1 sekunde", withPrepositionIn: "1 sekundu" }, dual: "{{count}} sekunde", other: "{{count}} sekundi" }; obj = { one: { standalone: "manje od 1 minute", withPrepositionAgo: "manje od 1 minute", withPrepositionIn: "manje od 1 minutu" }, dual: "manje od {{count}} minute", other: "manje od {{count}} minuta" }; const obj1 = { one: { standalone: "1 minuta", withPrepositionAgo: "1 minute", withPrepositionIn: "1 minutu" }, dual: "{{count}} minute", other: "{{count}} minuta" }; const obj2 = { one: { standalone: "oko 1 sat", withPrepositionAgo: "oko 1 sat", withPrepositionIn: "oko 1 sat" }, dual: "oko {{count}} sata", other: "oko {{count}} sati" }; const obj3 = { one: { standalone: "1 sat", withPrepositionAgo: "1 sat", withPrepositionIn: "1 sat" }, dual: "{{count}} sata", other: "{{count}} sati" }; const obj4 = { one: { standalone: "1 dan", withPrepositionAgo: "1 dan", withPrepositionIn: "1 dan" }, dual: "{{count}} dana", other: "{{count}} dana" }; const obj5 = { one: { standalone: "oko 1 tjedan", withPrepositionAgo: "oko 1 tjedan", withPrepositionIn: "oko 1 tjedan" }, dual: "oko {{count}} tjedna", other: "oko {{count}} tjedana" }; const obj6 = { one: { standalone: "1 tjedan", withPrepositionAgo: "1 tjedan", withPrepositionIn: "1 tjedan" }, dual: "{{count}} tjedna", other: "{{count}} tjedana" }; const obj7 = { one: { standalone: "oko 1 mjesec", withPrepositionAgo: "oko 1 mjesec", withPrepositionIn: "oko 1 mjesec" }, dual: "oko {{count}} mjeseca", other: "oko {{count}} mjeseci" }; const obj8 = { one: { standalone: "1 mjesec", withPrepositionAgo: "1 mjesec", withPrepositionIn: "1 mjesec" }, dual: "{{count}} mjeseca", other: "{{count}} mjeseci" }; const obj9 = { one: { standalone: "oko 1 godinu", withPrepositionAgo: "oko 1 godinu", withPrepositionIn: "oko 1 godinu" }, dual: "oko {{count}} godine", other: "oko {{count}} godina" }; const obj10 = { one: { standalone: "1 godina", withPrepositionAgo: "1 godine", withPrepositionIn: "1 godinu" }, dual: "{{count}} godine", other: "{{count}} godina" }; const obj11 = { one: { standalone: "preko 1 godinu", withPrepositionAgo: "preko 1 godinu", withPrepositionIn: "preko 1 godinu" }, dual: "preko {{count}} godine", other: "preko {{count}} godina" }; const obj12 = { one: { standalone: "gotovo 1 godinu", withPrepositionAgo: "gotovo 1 godinu", withPrepositionIn: "gotovo 1 godinu" }, dual: "gotovo {{count}} godine", other: "gotovo {{count}} godina" }; let closure_0 = { lessThanXSeconds: obj, xSeconds: obj, halfAMinute: "pola minute", lessThanXMinutes: obj, xMinutes: obj1, aboutXHours: obj2, xHours: obj3, xDays: obj4, aboutXWeeks: obj5, xWeeks: obj6, aboutXMonths: obj7, xMonths: obj8, aboutXYears: obj9, xYears: obj10, overXYears: obj11, almostXYears: obj12 }; export default function formatDistance(arg0, arg1, addSuffix) { let one; let withPrepositionIn; one = table[arg0]; if ("string" === typeof one) { let tmp7 = one; if (null != addSuffix) { tmp7 = one; if (addSuffix.addSuffix) { if (!addSuffix.comparison) { let text = `prije ${one}`; } text = `za ${one}`; } } return tmp7; } else { if (1 !== arg1) { if (arg1 % 10 > 1) { if (arg1 % 10 < 5) { const _String = String; if ("1" !== str.substr(-2, 1)) { const _String3 = String; let replaced = one.dual.replace("{{count}}", String(arg1)); const str5 = one.dual; } str = String(arg1); } } const _String2 = String; replaced = one.other.replace("{{count}}", String(arg1)); const str3 = one.other; } if (null == addSuffix) { const standalone = one.one.standalone; } if (!addSuffix.comparison) { const withPrepositionAgo = one.one.withPrepositionAgo; } ({ one, withPrepositionIn } = one); } }; export default exports.default;