103 lines
5.5 KiB
JavaScript
103 lines
5.5 KiB
JavaScript
/* Metro module 3742; source: unknown; dependencies: [3738] */
|
||
function _fun28423(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#28423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3869:6, offset: 0x00f78abf, size: 144 bytes, params: 8, frame: 15
|
||
const n_284242 = n_28424;
|
||
if (typeof exports !== 'object') {
|
||
if (typeof global.define !== 'function') {
|
||
n_284242(this.moment);
|
||
} else if (global.define.amd) {
|
||
global.define(['../moment'], n_284242);
|
||
} else {
|
||
n_284242(this.moment);
|
||
}
|
||
} else if (module === undefined) {
|
||
if (typeof global.define !== 'function') {
|
||
n_284242(this.moment);
|
||
} else if (global.define.amd) {
|
||
global.define(['../moment'], n_284242);
|
||
} else {
|
||
n_284242(this.moment);
|
||
}
|
||
} else if (typeof require === 'function') {
|
||
n_284242(require(3738) /* metro dependency 3738 */);
|
||
} else if (typeof global.define !== 'function') {
|
||
n_284242(this.moment);
|
||
} else if (global.define.amd) {
|
||
global.define(['../moment'], n_284242);
|
||
} else {
|
||
n_284242(this.moment);
|
||
}
|
||
function n_28424(a0) { // fn#28424, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3869:47, offset: 0x00f78b4f, size: 337 bytes, params: 2, frame: 16
|
||
const defineLocale = a0.defineLocale;
|
||
const object = {};
|
||
object.monthsNominativeEl = 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_');
|
||
object.monthsGenitiveEl = 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_');
|
||
object.months = months;
|
||
object.monthsShort = 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_');
|
||
object.weekdays = 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_');
|
||
object.weekdaysShort = 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_');
|
||
object.weekdaysMin = 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_');
|
||
object.meridiem = function(a0, a1, a2) {
|
||
return a0 > 11 ? a2 ? 'μμ' : 'ΜΜ' : a2 ? 'πμ' : 'ΠΜ';
|
||
};
|
||
object.isPM = function(a0) {
|
||
var value = String(a0);
|
||
value = value.toLowerCase();
|
||
return value[0] === 'μ';
|
||
};
|
||
object.meridiemParse = RegExp('[ΠΜ]\\.?Μ?\\.?', 'i');
|
||
object.longDateFormat = {'LT': 'h:mm A', 'LTS': 'h:mm:ss A', 'L': 'DD/MM/YYYY', 'LL': 'D MMMM YYYY',
|
||
'LLL': 'D MMMM YYYY h:mm A', 'LLLL': 'dddd, D MMMM YYYY h:mm A'};
|
||
object.calendarEl = {'sameDay': '[Σήμερα {}] LT', 'nextDay': '[Αύριο {}] LT', 'nextWeek': 'dddd [{}] LT',
|
||
'lastDay': '[Χθες {}] LT', 'lastWeek': null, 'sameElse': 'L', lastWeek: function() {
|
||
return this.day() !== 6 ? '[την προηγούμενη] dddd [{}] LT' : '[το προηγούμενο] dddd [{}] LT';
|
||
}};
|
||
object.calendar = calendar;
|
||
object.relativeTime = {'future': 'σε %s', 'past': '%s πριν', 's': 'λίγα δευτερόλεπτα', 'ss': '%d δευτερόλεπτα',
|
||
'm': 'ένα λεπτό', 'mm': '%d λεπτά', 'h': 'μία ώρα', 'hh': '%d ώρες', 'd': 'μία μέρα', 'dd': '%d μέρες',
|
||
'M': 'ένας μήνας', 'MM': '%d μήνες', 'y': 'ένας χρόνος', 'yy': '%d χρόνια'};
|
||
object.dayOfMonthOrdinalParse = RegExp('\\d{1,2}η', '');
|
||
object.ordinal = '%dη';
|
||
object.week = {'dow': 1, 'doy': 4};
|
||
return Reflect.apply(defineLocale, a0, ['el', object]);
|
||
}
|
||
|
||
}
|
||
|
||
function months(a0, a1) { // fn#28425, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3869:605, owner: n_28424.months, offset: 0x00f78ca0, size: 138 bytes, params: 3, frame: 18
|
||
var r1;
|
||
var r0;
|
||
var regexp;
|
||
if (a0) {
|
||
if (typeof a1 !== 'string') {
|
||
r1 = this._monthsNominativeEl[a0.month()];
|
||
} else {
|
||
regexp = RegExp('D', '');
|
||
r1 = regexp.test(a1.substring(0,
|
||
a1.indexOf('MMMM'))) ? this._monthsGenitiveEl[a0.month()] : this._monthsNominativeEl[a0.month()];
|
||
}
|
||
r0 = r1;
|
||
} else {
|
||
r0 = this._monthsNominativeEl;
|
||
}
|
||
return r0;
|
||
}
|
||
|
||
function calendar(a0, a1) { // fn#28429, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3869:1764, owner: n_28424.calendar, offset: 0x00f78da0, size: 147 bytes, params: 3, frame: 15
|
||
var r3;
|
||
let value = a1;
|
||
const property = this._calendarEl[a0];
|
||
let r1 = value && value.hours();
|
||
const Function = global.Function;
|
||
if (property instanceof Function || global.Object.prototype.toString.call(property) === '[object Function]') {
|
||
value = property.apply(value);
|
||
r3 = value;
|
||
} else {
|
||
r3 = property;
|
||
}
|
||
const replace = r3.replace;
|
||
r1 = r1 % 12 !== 1 ? 'στις' : 'στη';
|
||
return Reflect.apply(replace, r3, ['{}', r1]);
|
||
}
|
||
|
||
global.__d(_fun28423, 3742, [3738]) /* metro module 3742, dependencies: [3738] */;
|