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

96 lines
4.8 KiB
JavaScript

/* Metro module 3408; source: unknown; dependencies: [3235, 3236] */
import * as Module03235Module from './module-03235.js'; /* Metro dependency 3235 */
import * as Module03236Module from './module-03236.js'; /* Metro dependency 3236 */
function _fun26511(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26511, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3535:6, offset: 0x00f46408, size: 127 bytes, params: 8, frame: 19
const closure = function(a0) {
var value = a0;
return value && value.__esModule ? value : {default: value};
};
const _typeof_26513 = function(a0) {
var r2;
r2 = typeof global.Symbol !== 'function' ? _fun26515 : typeof global.Symbol.iterator === 'symbol' ? _fun26514 : _fun26515;
env0_2 = r2;
return r2(a0);
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = min_26516;
const env0_0 = closure(Module03235Module);
const env0_1 = closure(Module03236Module);
module.exports = exports.default;
function _typeof_26513(a0) { // fn#26513, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3535:548, offset: 0x00f46487, size: 74 bytes, params: 2, frame: 12
const Symbol = global.Symbol;
return (typeof Symbol !== 'function' ? function(a0) {
return a0 ? typeof global.Symbol !== 'function' || a0.constructor !== global.Symbol ? typeof a0 : a0 !== global.Symbol.prototype ? 'symbol' : typeof a0 : typeof a0;
} : typeof global.Symbol.iterator === 'symbol' ? _typeof_26513_typeof : _typeof_26513_typeof_26515)(a0);
}
function min_26516(a0) { // fn#26516, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3535:102, offset: 0x00f464d1, size: 204 bytes, params: 2, frame: 16
var Date;
var NaN;
var date;
let value = a0;
(0, env0_1.default)(1, arguments);
if (value) {
if (typeof value.forEach === 'function') {
value.forEach(_fun26517);
return env0_0 || new global.Date();
}
if (_typeof_26513(value) !== 'object') {
Date = global.Date;
NaN = global.NaN;
value = Object.create(Date.prototype, {constructor: {value: Date}});
date = new Date();
return date instanceof Object ? date : value;
}
if (value === null) {
Date = global.Date;
NaN = global.NaN;
value = Object.create(Date.prototype, {constructor: {value: Date}});
date = new Date();
return date instanceof Object ? date : value;
}
value = global.Array.prototype.slice.call(value);
} else {
if (_typeof_26513(value) !== 'object') {
Date = global.Date;
NaN = global.NaN;
value = Object.create(Date.prototype, {constructor: {value: Date}});
date = new Date();
return date instanceof Object ? date : value;
}
if (value === null) {
Date = global.Date;
NaN = global.NaN;
value = Object.create(Date.prototype, {constructor: {value: Date}});
date = new Date();
return date instanceof Object ? date : value;
}
value = global.Array.prototype.slice.call(value);
}
value.forEach(_fun26517);
return env0_0 || new global.Date();
function _fun26517(a0) { // fn#26517, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3535:303, offset: 0x00f4659d, size: 79 bytes, params: 2, frame: 14
let value = environment.__proto__;
value = (0, env1_0.default)(a0);
let r3 = env0_0 === undefined || env0_0 > value;
r3 = !r3 ? global.isNaN(value.getDate()) : r3;
if (r3) {
}
}
}
}
function _typeof_26513_typeof(a0) { // fn#26514, owner: _typeof_26513._typeof, offset: 0x00c39aa5, size: 8 bytes, params: 2, frame: 1
return typeof a0;
}
function _typeof_26513_typeof_26515(a0) { // fn#26515, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3535:680, owner: _typeof_26513._typeof, offset: 0x00c39aad, size: 63 bytes, params: 2, frame: 4
return a0 ? typeof global.Symbol !== 'function' || a0.constructor !== global.Symbol ? typeof a0 : a0 !== global.Symbol.prototype ? 'symbol' : typeof a0 : typeof a0;
}
global.__d(_fun26511, 3408, [3235, 3236]) /* metro module 3408, dependencies: [3235, 3236] */;