30 lines
2.8 KiB
JavaScript
30 lines
2.8 KiB
JavaScript
// Module ID: 3845
|
|
// Function ID: 3846
|
|
// Name: formatDistance
|
|
// Dependencies: [3846]
|
|
// Exports: default
|
|
|
|
// Module 3845 (formatDistance)
|
|
let closure_2 = { lessThanXSeconds: { one: "\u0967 \u0938\u0947\u0915\u0902\u0921 \u0938\u0947 \u0915\u092E", other: "{{count}} \u0938\u0947\u0915\u0902\u0921 \u0938\u0947 \u0915\u092E" }, xSeconds: { one: "\u0967 \u0938\u0947\u0915\u0902\u0921", other: "{{count}} \u0938\u0947\u0915\u0902\u0921" }, halfAMinute: "\u0906\u0927\u093E \u092E\u093F\u0928\u091F", lessThanXMinutes: { one: "\u0967 \u092E\u093F\u0928\u091F \u0938\u0947 \u0915\u092E", other: "{{count}} \u092E\u093F\u0928\u091F \u0938\u0947 \u0915\u092E" }, xMinutes: { one: "\u0967 \u092E\u093F\u0928\u091F", other: "{{count}} \u092E\u093F\u0928\u091F" }, aboutXHours: { one: "\u0932\u0917\u092D\u0917 \u0967 \u0918\u0902\u091F\u093E", other: "\u0932\u0917\u092D\u0917 {{count}} \u0918\u0902\u091F\u0947" }, xHours: { one: "\u0967 \u0918\u0902\u091F\u093E", other: "{{count}} \u0918\u0902\u091F\u0947" }, xDays: { one: "\u0967 \u0926\u093F\u0928", other: "{{count}} \u0926\u093F\u0928" }, aboutXWeeks: { one: "\u0932\u0917\u092D\u0917 \u0967 \u0938\u092A\u094D\u0924\u093E\u0939", other: "\u0932\u0917\u092D\u0917 {{count}} \u0938\u092A\u094D\u0924\u093E\u0939" }, xWeeks: { one: "\u0967 \u0938\u092A\u094D\u0924\u093E\u0939", other: "{{count}} \u0938\u092A\u094D\u0924\u093E\u0939" }, aboutXMonths: { one: "\u0932\u0917\u092D\u0917 \u0967 \u092E\u0939\u0940\u0928\u093E", other: "\u0932\u0917\u092D\u0917 {{count}} \u092E\u0939\u0940\u0928\u0947" }, xMonths: { one: "\u0967 \u092E\u0939\u0940\u0928\u093E", other: "{{count}} \u092E\u0939\u0940\u0928\u0947" }, aboutXYears: { one: "\u0932\u0917\u092D\u0917 \u0967 \u0935\u0930\u094D\u0937", other: "\u0932\u0917\u092D\u0917 {{count}} \u0935\u0930\u094D\u0937" }, xYears: { one: "\u0967 \u0935\u0930\u094D\u0937", other: "{{count}} \u0935\u0930\u094D\u0937" }, overXYears: { one: "\u0967 \u0935\u0930\u094D\u0937 \u0938\u0947 \u0905\u0927\u093F\u0915", other: "{{count}} \u0935\u0930\u094D\u0937 \u0938\u0947 \u0905\u0927\u093F\u0915" }, almostXYears: { one: "\u0932\u0917\u092D\u0917 \u0967 \u0935\u0930\u094D\u0937", other: "\u0932\u0917\u092D\u0917 {{count}} \u0935\u0930\u094D\u0937" } };
|
|
|
|
export default function formatDistance(arg0, arg1, addSuffix) {
|
|
if (typeof table[arg0] === "string") {
|
|
let tmp7 = tmp;
|
|
if (null != addSuffix) {
|
|
tmp7 = tmp;
|
|
if (addSuffix.addSuffix) {
|
|
if (!addSuffix.comparison) {
|
|
let text = `${tmp} पहले`;
|
|
}
|
|
text = `${tmp}मे `;
|
|
}
|
|
}
|
|
return tmp7;
|
|
} else if (1 === arg1) {
|
|
let one = tmp.one;
|
|
} else {
|
|
one = tmp.other.replace("{{count}}", require(3846) /* localeToNumber */.numberToLocale(arg1));
|
|
const str = tmp.other;
|
|
}
|
|
};
|
|
export default exports.default;
|