549 lines
23 KiB
React
549 lines
23 KiB
React
/* Metro module 3469; source: unknown; dependencies: [3470, 3471, 3474, 3475, 3477, 3478, 3479] */
|
|
function _fun26699(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:6, offset: 0x00f4ae9d, size: 570 bytes, params: 8, frame: 19
|
|
const closure = function(a0) {
|
|
var value = a0;
|
|
return value && value.__esModule ? value : {default: value};
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = undefined;
|
|
const env0_0 = closure(require(3470) /* metro dependency 3470 */);
|
|
const env0_1 = closure(require(3471) /* metro dependency 3471 */);
|
|
const env0_2 = closure(require(3474) /* metro dependency 3474 */);
|
|
const env0_3 = closure(require(3475) /* metro dependency 3475 */);
|
|
const env0_4 = closure(require(3477) /* metro dependency 3477 */);
|
|
const env0_5 = closure(require(3478) /* metro dependency 3478 */);
|
|
const env0_6 = closure(require(3479) /* metro dependency 3479 */);
|
|
exports.default = {G: G, y: y_26705, Y: Y, R: R, u: u_26708, Q: Q, q: q, M: M_26711, L: L_26712, w: w_26713,
|
|
I: I_26714, d: d, D: D_26716, E: E, e: e, c: c_26719, i: i, a: a, b: b_26722, B: B_26723, h: h_26724, H: H,
|
|
K: K, k: k, m: m, s: s, S: S_26730, X: X, x: x, O: O_26733, z: z_26734, t: t_26735, T: T};
|
|
module.exports = exports.default;
|
|
}
|
|
|
|
function formatTimezoneShort(a0, a1) { // fn#26701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:511, offset: 0x00f4b0d7, size: 144 bytes, params: 3, frame: 18
|
|
const r1 = a0 > 0 ? '-' : '+';
|
|
let Math = global.Math;
|
|
value = Math.abs(a0);
|
|
Math = global.Math;
|
|
const value2 = Math.floor(value / 60);
|
|
value %= 60;
|
|
if (value === 0) {
|
|
return r1 + global.String(value2);
|
|
}
|
|
const String = global.String;
|
|
const value3 = r1 + String(value2);
|
|
value = (0, env0_5.default)(value, 2);
|
|
return value3 + ':' + value;
|
|
}
|
|
|
|
function formatTimezoneWithOptionalMinutes(a0, a1) { // fn#26702, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:683, offset: 0x00f4b167, size: 102 bytes, params: 3, frame: 16
|
|
var r2;
|
|
var r0;
|
|
var value;
|
|
var property;
|
|
var Math;
|
|
if (a0 % 60 === 0) {
|
|
value = '+';
|
|
r2 = a0 > 0 ? '-' : value;
|
|
property = env0_5.default;
|
|
Math = global.Math;
|
|
value = Math.abs(a0) / 60;
|
|
value = r2 + property(value, 2);
|
|
r0 = value;
|
|
} else {
|
|
r0 = formatTimezone(a0, undefined);
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function formatTimezone(a0, a1) { // fn#26703, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:812, offset: 0x00f4b1cd, size: 131 bytes, params: 3, frame: 18
|
|
const r6 = a1 || '';
|
|
const r7 = a0 > 0 ? '-' : '+';
|
|
let Math = global.Math;
|
|
value = Math.abs(a0);
|
|
const property = env0_5.default;
|
|
Math = global.Math;
|
|
return r7 + property(Math.floor(value / 60), 2) + r6 + env0_5.default(value % 60, 2);
|
|
}
|
|
|
|
function G(a0, a1, a2) { // fn#26704, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:957, offset: 0x00f4b250, size: 139 bytes, params: 4, frame: 14
|
|
const uTCFullYear = a0.getUTCFullYear();
|
|
const value2 = 0;
|
|
const r2 = uTCFullYear > value2 ? 1 : value2;
|
|
if (a1 === 'G') {
|
|
return a2.era(r2, {width: 'abbreviated'});
|
|
}
|
|
if (a1 === 'GG') {
|
|
return a2.era(r2, {width: 'abbreviated'});
|
|
}
|
|
if (a1 === 'GGG') {
|
|
return a2.era(r2, {width: 'abbreviated'});
|
|
}
|
|
if (a1 === 'GGGGG') {
|
|
return a2.era(r2, {width: 'narrow'});
|
|
}
|
|
return a2.era(r2, {width: 'wide'});
|
|
}
|
|
|
|
function y_26705(a0, a1, a2) { // fn#26705, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:1169, offset: 0x00f4b2db, size: 93 bytes, params: 4, frame: 14
|
|
var uTCFullYear;
|
|
if (a1 === 'yo') {
|
|
uTCFullYear = a0.getUTCFullYear();
|
|
return a2.ordinalNumber(uTCFullYear > 0 ? uTCFullYear : 1 - uTCFullYear, {unit: 'year'});
|
|
}
|
|
return env0_6.default.y(a0, a1);
|
|
}
|
|
|
|
function Y(a0, a1, a2, a3) { // fn#26706, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:1304, offset: 0x00f4b338, size: 142 bytes, params: 5, frame: 17
|
|
const value2 = (0, env0_4.default)(a0, a3);
|
|
const r2 = value2 > 0 ? value2 : 1 - value2;
|
|
if (a1 === 'YY') {
|
|
return (0, env0_5.default)(r2 % 100, 2);
|
|
}
|
|
return a1 === 'Yo' ? a2.ordinalNumber(r2, {unit: 'year'}) : env0_5.default(r2, a1.length);
|
|
}
|
|
|
|
function R(a0, {length}) { // fn#26707, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:1488, offset: 0x00f4b3c6, size: 47 bytes, params: 3, frame: 13
|
|
return env0_5.default((0, env0_2.default)(a0), length);
|
|
}
|
|
|
|
function u_26708(a0, {length}) { // fn#26708, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:1562, offset: 0x00f4b3f5, size: 43 bytes, params: 3, frame: 13
|
|
return env0_5.default(a0.getUTCFullYear(), length);
|
|
}
|
|
|
|
function Q(a0, a1, a2) { // fn#26709, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:1638, offset: 0x00f4b420, size: 255 bytes, params: 4, frame: 16
|
|
const Math = global.Math;
|
|
const ceil = Math.ceil;
|
|
let value = a0.getUTCMonth();
|
|
value = Reflect.apply(ceil, Math, [(value + 1) / 3]);
|
|
if (a1 === 'Q') {
|
|
return global.String(value);
|
|
}
|
|
if (a1 === 'QQ') {
|
|
return (0, env0_5.default)(value, 2);
|
|
}
|
|
if (a1 === 'Qo') {
|
|
return a2.ordinalNumber(value, {unit: 'quarter'});
|
|
}
|
|
if (a1 === 'QQQ') {
|
|
return a2.quarter(value, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'QQQQQ') {
|
|
return a2.quarter(value, {'width': 'narrow', 'context': 'formatting'});
|
|
}
|
|
return a2.quarter(value, {'width': 'wide', 'context': 'formatting'});
|
|
}
|
|
|
|
function q(a0, a1, a2) { // fn#26710, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:2027, offset: 0x00f4b51f, size: 255 bytes, params: 4, frame: 16
|
|
const Math = global.Math;
|
|
const ceil = Math.ceil;
|
|
let value = a0.getUTCMonth();
|
|
value = Reflect.apply(ceil, Math, [(value + 1) / 3]);
|
|
if (a1 === 'q') {
|
|
return global.String(value);
|
|
}
|
|
if (a1 === 'qq') {
|
|
return (0, env0_5.default)(value, 2);
|
|
}
|
|
if (a1 === 'qo') {
|
|
return a2.ordinalNumber(value, {unit: 'quarter'});
|
|
}
|
|
if (a1 === 'qqq') {
|
|
return a2.quarter(value, {'width': 'abbreviated', 'context': 'standalone'});
|
|
}
|
|
if (a1 === 'qqqqq') {
|
|
return a2.quarter(value, {'width': 'narrow', 'context': 'standalone'});
|
|
}
|
|
return a2.quarter(value, {'width': 'wide', 'context': 'standalone'});
|
|
}
|
|
|
|
function M_26711(a0, a1, a2) { // fn#26711, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:2416, offset: 0x00f4b61e, size: 213 bytes, params: 4, frame: 16
|
|
var ordinalNumber;
|
|
let value = a0.getUTCMonth();
|
|
if (a1 === 'M') {
|
|
value = environment;
|
|
return env0_6.default.M(a0, a1);
|
|
}
|
|
if (a1 === 'MM') {
|
|
value = environment;
|
|
return env0_6.default.M(a0, a1);
|
|
}
|
|
if (a1 === 'Mo') {
|
|
ordinalNumber = a2.ordinalNumber;
|
|
value += 1;
|
|
return Reflect.apply(ordinalNumber, a2, [value, {unit: 'month'}]);
|
|
}
|
|
if (a1 === 'MMM') {
|
|
return a2.month(value, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'MMMMM') {
|
|
return a2.month(value, {'width': 'narrow', 'context': 'formatting'});
|
|
}
|
|
return a2.month(value, {'width': 'wide', 'context': 'formatting'});
|
|
}
|
|
|
|
function L_26712(a0, a1, a2) { // fn#26712, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:2764, offset: 0x00f4b6f3, size: 241 bytes, params: 4, frame: 15
|
|
var ordinalNumber;
|
|
let value = a0.getUTCMonth();
|
|
if (a1 === 'L') {
|
|
return global.String(value + 1);
|
|
}
|
|
if (a1 === 'LL') {
|
|
return env0_5.default(value + 1, 2);
|
|
}
|
|
if (a1 === 'Lo') {
|
|
ordinalNumber = a2.ordinalNumber;
|
|
value += 1;
|
|
return Reflect.apply(ordinalNumber, a2, [value, {unit: 'month'}]);
|
|
}
|
|
if (a1 === 'LLL') {
|
|
return a2.month(value, {'width': 'abbreviated', 'context': 'standalone'});
|
|
}
|
|
if (a1 === 'LLLLL') {
|
|
return a2.month(value, {'width': 'narrow', 'context': 'standalone'});
|
|
}
|
|
return a2.month(value, {'width': 'wide', 'context': 'standalone'});
|
|
}
|
|
|
|
function w_26713(a0, a1, a2, a3) { // fn#26713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:3134, offset: 0x00f4b7e4, size: 87 bytes, params: 5, frame: 16
|
|
const value2 = (0, env0_3.default)(a0, a3);
|
|
return a1 === 'wo' ? a2.ordinalNumber(value2, {unit: 'week'}) : env0_5.default(value2, a1.length);
|
|
}
|
|
|
|
function I_26714(a0, a1, a2) { // fn#26714, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:3256, offset: 0x00f4b83b, size: 85 bytes, params: 4, frame: 15
|
|
const value2 = (0, env0_1.default)(a0);
|
|
return a1 === 'Io' ? a2.ordinalNumber(value2, {unit: 'week'}) : env0_5.default(value2, a1.length);
|
|
}
|
|
|
|
function d(a0, a1, a2) { // fn#26715, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:3374, offset: 0x00f4b890, size: 79 bytes, params: 4, frame: 15
|
|
var r0;
|
|
var value;
|
|
var ordinalNumber;
|
|
if (a1 === 'do') {
|
|
ordinalNumber = a2.ordinalNumber;
|
|
value = a0.getUTCDate();
|
|
value = Reflect.apply(ordinalNumber, a2, [value, {unit: 'date'}]);
|
|
r0 = value;
|
|
} else {
|
|
r0 = env0_6.default.d(a0, a1);
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function D_26716(a0, a1, a2) { // fn#26716, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:3473, offset: 0x00f4b8df, size: 85 bytes, params: 4, frame: 15
|
|
const value2 = (0, env0_0.default)(a0);
|
|
return a1 === 'Do' ? a2.ordinalNumber(value2, {unit: 'dayOfYear'}) : env0_5.default(value2, a1.length);
|
|
}
|
|
|
|
function E(a0, a1, a2) { // fn#26717, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:3596, offset: 0x00f4b934, size: 180 bytes, params: 4, frame: 13
|
|
const uTCDay = a0.getUTCDay();
|
|
if (a1 === 'E') {
|
|
return a2.day(uTCDay, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'EE') {
|
|
return a2.day(uTCDay, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'EEE') {
|
|
return a2.day(uTCDay, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'EEEEE') {
|
|
return a2.day(uTCDay, {'width': 'narrow', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'EEEEEE') {
|
|
return a2.day(uTCDay, {'width': 'short', 'context': 'formatting'});
|
|
}
|
|
return a2.day(uTCDay, {'width': 'wide', 'context': 'formatting'});
|
|
}
|
|
|
|
function e(a0, a1, a2, {weekStartsOn}) { // fn#26718, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:3926, offset: 0x00f4b9e8, size: 294 bytes, params: 5, frame: 15
|
|
let value = a0.getUTCDay();
|
|
const r2 = (value - weekStartsOn + 8) % 7 || 7;
|
|
if (a1 === 'e') {
|
|
return global.String(r2);
|
|
}
|
|
if (a1 === 'ee') {
|
|
value = environment;
|
|
return (0, env0_5.default)(r2, 2);
|
|
}
|
|
if (a1 === 'eo') {
|
|
return a2.ordinalNumber(r2, {unit: 'day'});
|
|
}
|
|
if (a1 === 'eee') {
|
|
return a2.day(value, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'eeeee') {
|
|
return a2.day(value, {'width': 'narrow', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'eeeeee') {
|
|
return a2.day(value, {'width': 'short', 'context': 'formatting'});
|
|
}
|
|
return a2.day(value, {'width': 'wide', 'context': 'formatting'});
|
|
}
|
|
|
|
function c_26719(a0, a1, a2, {weekStartsOn}) { // fn#26719, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:4376, offset: 0x00f4bb0e, size: 300 bytes, params: 5, frame: 15
|
|
let value = a0.getUTCDay();
|
|
const r2 = (value - weekStartsOn + 8) % 7 || 7;
|
|
if (a1 === 'c') {
|
|
return global.String(r2);
|
|
}
|
|
if (a1 === 'cc') {
|
|
value = environment;
|
|
return env0_5.default(r2, a1.length);
|
|
}
|
|
if (a1 === 'co') {
|
|
return a2.ordinalNumber(r2, {unit: 'day'});
|
|
}
|
|
if (a1 === 'ccc') {
|
|
return a2.day(value, {'width': 'abbreviated', 'context': 'standalone'});
|
|
}
|
|
if (a1 === 'ccccc') {
|
|
return a2.day(value, {'width': 'narrow', 'context': 'standalone'});
|
|
}
|
|
if (a1 === 'cccccc') {
|
|
return a2.day(value, {'width': 'short', 'context': 'standalone'});
|
|
}
|
|
return a2.day(value, {'width': 'wide', 'context': 'standalone'});
|
|
}
|
|
|
|
function i(a0, a1, a2) { // fn#26720, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:4833, offset: 0x00f4bc3a, size: 275 bytes, params: 4, frame: 15
|
|
let value = a0.getUTCDay();
|
|
const r2 = value === 0 ? 7 : value;
|
|
if (a1 === 'i') {
|
|
return global.String(r2);
|
|
}
|
|
if (a1 === 'ii') {
|
|
value = environment;
|
|
return env0_5.default(r2, a1.length);
|
|
}
|
|
if (a1 === 'io') {
|
|
return a2.ordinalNumber(r2, {unit: 'day'});
|
|
}
|
|
if (a1 === 'iii') {
|
|
return a2.day(value, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'iiiii') {
|
|
return a2.day(value, {'width': 'narrow', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'iiiiii') {
|
|
return a2.day(value, {'width': 'short', 'context': 'formatting'});
|
|
}
|
|
return a2.day(value, {'width': 'wide', 'context': 'formatting'});
|
|
}
|
|
|
|
function a(a0, a1, a2) { // fn#26721, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:5272, offset: 0x00f4bd4d, size: 202 bytes, params: 4, frame: 14
|
|
let value = a0.getUTCHours();
|
|
value = 'am';
|
|
const r2 = value / 12 >= 1 ? 'pm' : value;
|
|
if (a1 === 'a') {
|
|
return a2.dayPeriod(r2, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'aa') {
|
|
return a2.dayPeriod(r2, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'aaa') {
|
|
return a2.dayPeriod(r2, {'width': 'abbreviated', 'context': 'formatting'}).toLowerCase();
|
|
}
|
|
if (a1 === 'aaaaa') {
|
|
return a2.dayPeriod(r2, {'width': 'narrow', 'context': 'formatting'});
|
|
}
|
|
return a2.dayPeriod(r2, {'width': 'wide', 'context': 'formatting'});
|
|
}
|
|
|
|
function b_26722(a0, a1, a2) { // fn#26722, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:5651, offset: 0x00f4be17, size: 228 bytes, params: 4, frame: 16
|
|
const uTCHours = a0.getUTCHours();
|
|
const r2 = uTCHours === 12 ? 'noon' : uTCHours === 0 ? 'midnight' : 'am' / 12 >= 1 ? 'pm' : 'am';
|
|
if (a1 === 'b') {
|
|
return a2.dayPeriod(r2, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'bb') {
|
|
return a2.dayPeriod(r2, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'bbb') {
|
|
return a2.dayPeriod(r2, {'width': 'abbreviated', 'context': 'formatting'}).toLowerCase();
|
|
}
|
|
if (a1 === 'bbbbb') {
|
|
return a2.dayPeriod(r2, {'width': 'narrow', 'context': 'formatting'});
|
|
}
|
|
return a2.dayPeriod(r2, {'width': 'wide', 'context': 'formatting'});
|
|
}
|
|
|
|
function B_26723(a0, a1, a2) { // fn#26723, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:6053, offset: 0x00f4befb, size: 191 bytes, params: 4, frame: 15
|
|
const uTCHours = a0.getUTCHours();
|
|
const r2 = uTCHours >= 17 ? 'evening' : uTCHours >= 12 ? 'afternoon' : 'night' >= 4 ? 'morning' : 'night';
|
|
if (a1 === 'B') {
|
|
return a2.dayPeriod(r2, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'BB') {
|
|
return a2.dayPeriod(r2, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'BBB') {
|
|
return a2.dayPeriod(r2, {'width': 'abbreviated', 'context': 'formatting'});
|
|
}
|
|
if (a1 === 'BBBBB') {
|
|
return a2.dayPeriod(r2, {'width': 'narrow', 'context': 'formatting'});
|
|
}
|
|
return a2.dayPeriod(r2, {'width': 'wide', 'context': 'formatting'});
|
|
}
|
|
|
|
function h_26724(a0, a1, a2) { // fn#26724, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:6366, offset: 0x00f4bfba, size: 95 bytes, params: 4, frame: 14
|
|
var value;
|
|
var value2;
|
|
if (a1 === 'ho') {
|
|
value = a0.getUTCHours();
|
|
value2 = 12;
|
|
value %= value2;
|
|
return a2.ordinalNumber(value !== 0 ? value : value2, {unit: 'hour'});
|
|
}
|
|
return env0_6.default.h(a0, a1);
|
|
}
|
|
|
|
function H(a0, a1, a2) { // fn#26725, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:6503, offset: 0x00f4c019, size: 80 bytes, params: 4, frame: 15
|
|
var r0;
|
|
var value;
|
|
var ordinalNumber;
|
|
if (a1 === 'Ho') {
|
|
ordinalNumber = a2.ordinalNumber;
|
|
value = a0.getUTCHours();
|
|
value = Reflect.apply(ordinalNumber, a2, [value, {unit: 'hour'}]);
|
|
r0 = value;
|
|
} else {
|
|
r0 = env0_6.default.H(a0, a1);
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function K(a0, a1, a2) { // fn#26726, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:6603, offset: 0x00f4c069, size: 88 bytes, params: 4, frame: 15
|
|
var r0;
|
|
let value = a0.getUTCHours();
|
|
value %= 12;
|
|
if (a1 === 'Ko') {
|
|
value = a2.ordinalNumber(value, {unit: 'hour'});
|
|
r0 = value;
|
|
} else {
|
|
value = env0_5.default(value, a1.length);
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function k(a0, a1, a2) { // fn#26727, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:6723, offset: 0x00f4c0c1, size: 88 bytes, params: 4, frame: 15
|
|
const uTCHours = a0.getUTCHours();
|
|
const r3 = uTCHours !== 0 ? uTCHours : 24;
|
|
return a1 === 'ko' ? a2.ordinalNumber(r3, {unit: 'hour'}) : env0_5.default(r3, a1.length);
|
|
}
|
|
|
|
function m(a0, a1, a2) { // fn#26728, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:6855, offset: 0x00f4c119, size: 78 bytes, params: 4, frame: 15
|
|
var r0;
|
|
var value;
|
|
var ordinalNumber;
|
|
if (a1 === 'mo') {
|
|
ordinalNumber = a2.ordinalNumber;
|
|
value = a0.getUTCMinutes();
|
|
value = Reflect.apply(ordinalNumber, a2, [value, {unit: 'minute'}]);
|
|
r0 = value;
|
|
} else {
|
|
r0 = env0_6.default.m(a0, a1);
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function s(a0, a1, a2) { // fn#26729, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:6959, offset: 0x00f4c167, size: 77 bytes, params: 4, frame: 15
|
|
var r0;
|
|
var value;
|
|
var ordinalNumber;
|
|
if (a1 === 'so') {
|
|
ordinalNumber = a2.ordinalNumber;
|
|
value = a0.getUTCSeconds();
|
|
value = Reflect.apply(ordinalNumber, a2, [value, {unit: 'second'}]);
|
|
r0 = value;
|
|
} else {
|
|
r0 = env0_6.default.s(a0, a1);
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function S_26730(a0, a1) { // fn#26730, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:7063, offset: 0x00f4c1b4, size: 32 bytes, params: 3, frame: 13
|
|
return env0_6.default.S(a0, a1);
|
|
}
|
|
|
|
function X(a0, a1, a2, {_originalDate}) { // fn#26731, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:7106, offset: 0x00f4c1d4, size: 124 bytes, params: 5, frame: 13
|
|
timezoneOffset = (_originalDate || a0).getTimezoneOffset();
|
|
if (timezoneOffset === 0) {
|
|
return 'Z';
|
|
}
|
|
if (a1 === 'X') {
|
|
return formatTimezoneWithOptionalMinutes(timezoneOffset);
|
|
}
|
|
if (a1 === 'XXXX') {
|
|
return formatTimezone(timezoneOffset);
|
|
}
|
|
if (a1 === 'XX') {
|
|
return formatTimezone(timezoneOffset);
|
|
}
|
|
return formatTimezone(timezoneOffset, ':');
|
|
}
|
|
|
|
function x(a0, a1, a2, {_originalDate}) { // fn#26732, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:7340, offset: 0x00f4c250, size: 112 bytes, params: 5, frame: 13
|
|
timezoneOffset = (_originalDate || a0).getTimezoneOffset();
|
|
if (a1 === 'x') {
|
|
return formatTimezoneWithOptionalMinutes(timezoneOffset);
|
|
}
|
|
if (a1 === 'xxxx') {
|
|
return formatTimezone(timezoneOffset);
|
|
}
|
|
if (a1 === 'xx') {
|
|
return formatTimezone(timezoneOffset);
|
|
}
|
|
return formatTimezone(timezoneOffset, ':');
|
|
}
|
|
|
|
function O_26733(a0, a1, a2, {_originalDate}) { // fn#26733, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:7555, offset: 0x00f4c2c0, size: 121 bytes, params: 5, frame: 13
|
|
value = (_originalDate || a0).getTimezoneOffset();
|
|
if (a1 === 'O') {
|
|
value = formatTimezoneShort(value, ':');
|
|
} else {
|
|
if (a1 === 'OO') {
|
|
value = formatTimezoneShort(value, ':');
|
|
return 'GMT' + value;
|
|
}
|
|
if (a1 === 'OOO') {
|
|
value = formatTimezoneShort(value, ':');
|
|
return 'GMT' + value;
|
|
}
|
|
value = formatTimezone(value, ':');
|
|
}
|
|
return 'GMT' + value;
|
|
}
|
|
|
|
function z_26734(a0, a1, a2, {_originalDate}) { // fn#26734, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:7744, offset: 0x00f4c339, size: 119 bytes, params: 5, frame: 13
|
|
value = (_originalDate || a0).getTimezoneOffset();
|
|
if (a1 === 'z') {
|
|
value = formatTimezoneShort(value, ':');
|
|
} else {
|
|
if (a1 === 'zz') {
|
|
value = formatTimezoneShort(value, ':');
|
|
return 'GMT' + value;
|
|
}
|
|
if (a1 === 'zzz') {
|
|
value = formatTimezoneShort(value, ':');
|
|
return 'GMT' + value;
|
|
}
|
|
value = formatTimezone(value, ':');
|
|
}
|
|
return 'GMT' + value;
|
|
}
|
|
|
|
function t_26735(a0, {length}, a2, {_originalDate}) { // fn#26735, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:7933, offset: 0x00f4c3b0, size: 87 bytes, params: 5, frame: 13
|
|
const r3 = _originalDate || a0;
|
|
const Math = global.Math;
|
|
const floor = Math.floor;
|
|
value = r3.getTime();
|
|
value = Reflect.apply(floor, Math, [value / 1000]);
|
|
return env0_5.default(value, length);
|
|
}
|
|
|
|
function T(a0, {length}, a2, {_originalDate}) { // fn#26736, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3596:8043, offset: 0x00f4c407, size: 58 bytes, params: 5, frame: 13
|
|
return env0_5.default((_originalDate || a0).getTime(), length);
|
|
}
|
|
|