Files
discord-decomp/sources/by-id/module-03750.js
T
2026-07-28 01:06:53 +03:00

78 lines
3.8 KiB
JavaScript

/* Metro module 3750; source: unknown; dependencies: [3738] */
function _fun28464(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#28464, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3877:6, offset: 0x00f7a50e, size: 144 bytes, params: 8, frame: 15
const __284652 = __28465;
if (typeof exports !== 'object') {
if (typeof global.define !== 'function') {
__284652(this.moment);
} else if (global.define.amd) {
global.define(['../moment'], __284652);
} else {
__284652(this.moment);
}
} else if (module === undefined) {
if (typeof global.define !== 'function') {
__284652(this.moment);
} else if (global.define.amd) {
global.define(['../moment'], __284652);
} else {
__284652(this.moment);
}
} else if (typeof require === 'function') {
__284652(require(3738) /* metro dependency 3738 */);
} else if (typeof global.define !== 'function') {
__284652(this.moment);
} else if (global.define.amd) {
global.define(['../moment'], __284652);
} else {
__284652(this.moment);
}
function __28465(a0) { // fn#28465, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3877:47, offset: 0x00f7a59e, size: 269 bytes, params: 2, frame: 16
const defineLocale = a0.defineLocale;
const object = {};
object.months = '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_');
object.monthsShort = '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_');
object.weekdays = '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_');
object.weekdaysShort = '日_月_火_水_木_金_土'.split('_');
object.weekdaysMin = '日_月_火_水_木_金_土'.split('_');
object.longDateFormat = {'LT': 'HH:mm', 'LTS': 'HH:mm:ss', 'L': 'YYYY/MM/DD', 'LL': 'YYYY年M月D日',
'LLL': 'YYYY年M月D日 HH:mm', 'LLLL': 'YYYY年M月D日 dddd HH:mm', 'l': 'YYYY/MM/DD', 'll': 'YYYY年M月D日',
'lll': 'YYYY年M月D日 HH:mm', 'llll': 'YYYY年M月D日(ddd) HH:mm'};
object.meridiemParse = RegExp('午前|午後', 'i');
object.isPM = function(a0) {
return a0 === '午後';
};
object.meridiem = function(a0, a1, a2) {
return a0 < 12 ? '午前' : '午後';
};
object.calendar = {'sameDay': '[今日] LT', 'nextDay': '[明日] LT', 'nextWeek': null, 'lastDay': '[昨日] LT',
'lastWeek': null, 'sameElse': 'L', nextWeek: function(a0) {
var value = a0.week();
value = value < this.week();
return value ? '[来週]dddd LT' : 'dddd LT';
}, lastWeek: function(a0) {
var value = this.week();
value = value < a0.week();
return value ? '[先週]dddd LT' : 'dddd LT';
}};
object.dayOfMonthOrdinalParse = RegExp('\\d{1,2}日', '');
object.ordinal = function(a0, a1) {
if (a1 === 'd') {
return a0 + '日';
}
if (a1 === 'D') {
return a0 + '日';
}
if (a1 === 'DDD') {
return a0 + '日';
}
return a0;
};
object.relativeTime = {'future': '%s後', 'past': '%s前', 's': '数秒', 'ss': '%d秒', 'm': '1分', 'mm': '%d分', 'h': '1時間',
'hh': '%d時間', 'd': '1日', 'dd': '%d日', 'M': '1ヶ月', 'MM': '%dヶ月', 'y': '1年', 'yy': '%d年'};
return Reflect.apply(defineLocale, a0, ['ja', object]);
}
}
global.__d(_fun28464, 3750, [3738]) /* metro module 3750, dependencies: [3738] */;