/* Metro module 3235; source: unknown; dependencies: [3236] */ import * as Module03236Module from './module-03236.js'; /* Metro dependency 3236 */ function _fun25801(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#25801, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3362:6, offset: 0x00f2a481, size: 120 bytes, params: 8, frame: 16 const _typeof = function(a0) { var r2; r2 = typeof global.Symbol !== 'function' ? _fun25804 : typeof global.Symbol.iterator === 'symbol' ? _fun25803 : _fun25804; env0_1 = r2; return r2(a0); }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); exports.default = toDate; const env0_0 = Module03236Module && Module03236Module.__esModule ? Module03236Module : {default: Module03236Module}; module.exports = exports.default; function _typeof(a0) { // fn#25802, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3362:771, offset: 0x00f2a4f9, 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_typeof_body : _typeof_typeof_body_25804)(a0); } function toDate(a0) { // fn#25805, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3362:102, offset: 0x00f2a543, size: 345 bytes, params: 2, frame: 15 var r0; var console; var NaN; var value; (0, env0_0.default)(1, arguments); const Object = global.Object; const value2 = Object.prototype.toString.call(a0); let Date = global.Date; if (a0 instanceof Date) { Date = global.Date; value = a0.getTime(); r0 = new Date(); } else { value = _typeof(a0); if (value !== 'object') { value = typeof a0; if (value === 'number') { r0 = new global.Date(a0); } else if (value2 === '[object Number]') { r0 = new global.Date(a0); } else { value = value !== 'string'; r0 = value && value2 !== '[object String]'; r0 = !r0 ? typeof global.console === 'undefined' : r0; if (!r0) { console = global.console; console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"); console = global.console; console.warn(new global.Error().stack); } Date = global.Date; NaN = global.NaN; r0 = new Date(); } } else if (value2 === '[object Date]') { Date = global.Date; value = a0.getTime(); r0 = new Date(); } else { value = typeof a0; if (value === 'number') { r0 = new global.Date(a0); } else if (value2 === '[object Number]') { r0 = new global.Date(a0); } else { value = value !== 'string'; r0 = value && value2 !== '[object String]'; r0 = !r0 ? typeof global.console === 'undefined' : r0; if (!r0) { console = global.console; console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"); console = global.console; console.warn(new global.Error().stack); } Date = global.Date; NaN = global.NaN; r0 = new Date(); } } } return r0; } } function _typeof_typeof_body(a0) { // fn#25803, owner: _typeof.body, offset: 0x00c39aa5, size: 8 bytes, params: 2, frame: 1 return typeof a0; } function _typeof_typeof_body_25804(a0) { // fn#25804, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3362:903, owner: _typeof.body, 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(_fun25801, 3235, [3236]) /* metro module 3235, dependencies: [3236] */;