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

78 lines
4.3 KiB
React

/* Metro module 3744; source: unknown; dependencies: [3738] */
function _fun28433(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#28433, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3871:6, offset: 0x00f7900c, size: 144 bytes, params: 8, frame: 15
const closure = n_28434;
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_28434(a0) { // fn#28434, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3871:48, offset: 0x00f7909c, size: 620 bytes, params: 2, frame: 18
const env0_0 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_');
const env0_1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
const items = [RegExp('^ene', 'i'), RegExp('^feb', 'i'), RegExp('^mar', 'i'), RegExp('^abr', 'i'), RegExp('^may',
'i'), RegExp('^jun', 'i'), RegExp('^jul', 'i'), RegExp('^ago', 'i'), RegExp('^sep', 'i'), RegExp('^oct', 'i'),
RegExp('^nov', 'i'), RegExp('^dic', 'i')];
const regexp = RegExp('^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)',
'i');
const defineLocale = a0.defineLocale;
const object3 = {};
object3.months = 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_');
object3.monthsShort = monthsShort;
object3.monthsRegex = regexp;
object3.monthsShortRegex = regexp;
object3.monthsStrictRegex = RegExp('^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)',
'i');
object3.monthsShortStrictRegex = RegExp('^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)',
'i');
object3.monthsParse = items;
object3.longMonthsParse = items;
object3.shortMonthsParse = items;
object3.weekdays = 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_');
object3.weekdaysShort = 'dom._lun._mar._mié._jue._vie._sáb.'.split('_');
object3.weekdaysMin = 'do_lu_ma_mi_ju_vi_sá'.split('_');
object3.weekdaysParseExact = true;
object3.longDateFormat = {'LT': 'H:mm', 'LTS': 'H:mm:ss', 'L': 'DD/MM/YYYY', 'LL': 'D [de] MMMM [de] YYYY',
'LLL': 'D [de] MMMM [de] YYYY H:mm', 'LLLL': 'dddd, D [de] MMMM [de] YYYY H:mm'};
object3.calendar = {sameDay: function() {
return '[hoy a la' + (this.hours() === 1 ? '' : 's') + '] LT';
}, nextDay: function() {
return '[mañana a la' + (this.hours() === 1 ? '' : 's') + '] LT';
}, nextWeek: function() {
return 'dddd [a la' + (this.hours() === 1 ? '' : 's') + '] LT';
}, lastDay: function() {
return '[ayer a la' + (this.hours() === 1 ? '' : 's') + '] LT';
}, lastWeek: function() {
return '[el] dddd [pasado a la' + (this.hours() === 1 ? '' : 's') + '] LT';
}, sameElse: 'L'};
object3.relativeTime = {'future': 'en %s', 'past': 'hace %s', 's': 'unos segundos', 'ss': '%d segundos',
'm': 'un minuto', 'mm': '%d minutos', 'h': 'una hora', 'hh': '%d horas', 'd': 'un día', 'dd': '%d días',
'M': 'un mes', 'MM': '%d meses', 'y': 'un año', 'yy': '%d años'};
object3.dayOfMonthOrdinalParse = RegExp('\\d{1,2}º', '');
object3.ordinal = '%dº';
object3.week = {'dow': 1, 'doy': 4};
return Reflect.apply(defineLocale, a0, ['es', object3]);
}