Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,104 @@
|
||||
/* Metro module 4911; source: modules/threads/getTimestampString.tsx; dependencies: [1244, 3738, 2] */
|
||||
function _fun43401(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#43401, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5089:6, offset: 0x0115207b, size: 101 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/threads/getTimestampString.tsx');
|
||||
exports.default = _default;
|
||||
}
|
||||
|
||||
function _default(a0, a1) { // fn#43402, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5089:124, offset: 0x011520e0, size: 652 bytes, params: 3, frame: 25
|
||||
var r0;
|
||||
var value10;
|
||||
var value12;
|
||||
var value14;
|
||||
var value16;
|
||||
var value18;
|
||||
const value = a2;
|
||||
const value2 = undefined;
|
||||
const env0_0 = !(value !== value2) || value;
|
||||
const value3 = (importDefault(3738) /* metro dependency 3738 */)();
|
||||
const value5 = value3.diff((importDefault(3738) /* metro dependency 3738 */)(a0), 's');
|
||||
const r13 = a1 != null ? a1() : value2;
|
||||
const object2 = {};
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
object2.seconds = t.sMPmtq;
|
||||
const N9M4N1 = t.N9M4N1;
|
||||
object2.minutes = N9M4N1;
|
||||
object2.hours = t.p0KedC;
|
||||
object2.days = t.gjK5av;
|
||||
object2.months = t.kHo4Or;
|
||||
const KjKr2P = t.KjKr2P;
|
||||
object2.years = KjKr2P;
|
||||
const closure = _defaultFormatString;
|
||||
if (value5 < 60) {
|
||||
r0 = (r13 == null ? value2 : r13.seconds) != null ? closure('seconds', value5) : closure('minutes', 1);
|
||||
if (r0 != null) {
|
||||
return r0;
|
||||
}
|
||||
}
|
||||
if (value5 < 3600) {
|
||||
value10 = closure('minutes', global.Math.floor(value5 / 60));
|
||||
if (value10 != null) {
|
||||
return value10;
|
||||
}
|
||||
}
|
||||
if (value5 < 86400) {
|
||||
value12 = closure('hours', global.Math.floor(value5 / 3600));
|
||||
if (value12 != null) {
|
||||
return value12;
|
||||
}
|
||||
}
|
||||
if (value5 < 2592000) {
|
||||
value14 = closure('days', global.Math.floor(value5 / 86400));
|
||||
if (value14 != null) {
|
||||
return value14;
|
||||
}
|
||||
}
|
||||
if (value5 < 31104000) {
|
||||
value16 = closure('months', global.Math.floor(value5 / 2592000));
|
||||
if (value16 != null) {
|
||||
return value16;
|
||||
}
|
||||
}
|
||||
if (value5 >= 31104000) {
|
||||
if ((r13 == null ? value2 : r13.years) == null) {
|
||||
return (importDefault(3738) /* metro dependency 3738 */)(a0).format('LL');
|
||||
}
|
||||
value18 = closure('years', global.Math.floor(value5 / 31104000));
|
||||
if (value18 != null) {
|
||||
return value18;
|
||||
}
|
||||
}
|
||||
return (importDefault(3738) /* metro dependency 3738 */)(a0).format('LL');
|
||||
}
|
||||
|
||||
function _defaultFormatString(a0, a1) { // fn#43403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5089:354, owner: _default.formatString, offset: 0x0115236c, size: 114 bytes, params: 3, frame: 17
|
||||
var environment;
|
||||
var r1;
|
||||
var r0;
|
||||
var value4;
|
||||
let value = ((a0, a1, a2) => {
|
||||
var r0;
|
||||
var value = null;
|
||||
r0 = value != a1 && value != a1[a0];
|
||||
r0 = r0 ? value != (value != a1[a0] ? a1[a0] : value == a2 ? undefined : a2[a0]) ? value != a1[a0] ? a1[a0] : value == a2 ? undefined : a2[a0] : value : value != (value == a2 ? undefined : a2[a0]) ? value == a2 ? undefined : a2[a0] : value;
|
||||
return r0;
|
||||
})(a0, env0_1, env0_0 ? env0_2 : undefined);
|
||||
const value3 = null;
|
||||
if (value3 == value) {
|
||||
r0 = value3;
|
||||
} else {
|
||||
if (typeof value === 'string') {
|
||||
r1 = value;
|
||||
} else {
|
||||
value4 = environment.__proto__;
|
||||
value = (require(1244) /* metro dependency 1244: indexNative */).intl.formatToPlainString(value,
|
||||
{count: a1});
|
||||
r1 = value;
|
||||
}
|
||||
r0 = r1;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user