Files
discord-decomp/sources/by-id/module-03743.jsx
T
2026-07-27 16:20:00 +03:00

56 lines
3.0 KiB
React

/* Metro module 3743; source: unknown; dependencies: [3738] */
function _fun28430(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#28430, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3870:6, offset: 0x00f78e33, size: 144 bytes, params: 8, frame: 15
const closure = n_28431;
if (typeof exports !== 'object') {
if (typeof global.define !== 'function') {
closure(this.moment);
} else if (global.define.amd) {
global.define(['../moment'], closure);
} else {
closure(this.moment);
}
} else if (module === undefined) {
if (typeof global.define !== 'function') {
closure(this.moment);
} else if (global.define.amd) {
global.define(['../moment'], closure);
} else {
closure(this.moment);
}
} else if (typeof require === 'function') {
closure(require(3738) /* metro dependency 3738 */);
} else if (typeof global.define !== 'function') {
closure(this.moment);
} else if (global.define.amd) {
global.define(['../moment'], closure);
} else {
closure(this.moment);
}
}
function n_28431(a0) { // fn#28431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3870:47, offset: 0x00f78ec3, size: 241 bytes, params: 2, frame: 15
const defineLocale = a0.defineLocale;
const object2 = {};
object2.months = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');
object2.monthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_');
object2.weekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');
object2.weekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_');
object2.weekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_');
object2.longDateFormat = {'LT': 'HH:mm', 'LTS': 'HH:mm:ss', 'L': 'DD/MM/YYYY', 'LL': 'D MMMM YYYY',
'LLL': 'D MMMM YYYY HH:mm', 'LLLL': 'dddd, D MMMM YYYY HH:mm'};
object2.calendar = {'sameDay': '[Today at] LT', 'nextDay': '[Tomorrow at] LT', 'nextWeek': 'dddd [at] LT',
'lastDay': '[Yesterday at] LT', 'lastWeek': '[Last] dddd [at] LT', 'sameElse': 'L'};
object2.relativeTime = {'future': 'in %s', 'past': '%s ago', 's': 'a few seconds', 'ss': '%d seconds',
'm': 'a minute', 'mm': '%d minutes', 'h': 'an hour', 'hh': '%d hours', 'd': 'a day', 'dd': '%d days',
'M': 'a month', 'MM': '%d months', 'y': 'a year', 'yy': '%d years'};
object2.dayOfMonthOrdinalParse = RegExp('\\d{1,2}(st|nd|rd|th)', '');
object2.ordinal = function(a0) {
var value = a0 % 10;
var value2 = 'th';
return a0 + (~~(a0 % 100 / 10) === 1 ? value2 : value === 1 ? 'st' : value === 2 ? 'nd' : value !== 3 ? value2 : 'rd');
};
object2.week = {'dow': 1, 'doy': 4};
return Reflect.apply(defineLocale, a0, ['en-gb', object2]);
}