/* Metro module 3480; source: unknown; dependencies: [] */ function _fun26773(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26773, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3607:6, offset: 0x00f4d3c2, size: 101 bytes, params: 8, frame: 16 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); exports.default = undefined; const dateLongFormatter = function(a0, a1) { if (a0 === 'P') { return a1.date({width: 'short'}); } if (a0 === 'PP') { return a1.date({width: 'medium'}); } if (a0 === 'PPP') { return a1.date({width: 'long'}); } return a1.date({width: 'full'}); }; exports.default = {p: function(a0, a1) { if (a0 === 'p') { return a1.time({width: 'short'}); } if (a0 === 'pp') { return a1.time({width: 'medium'}); } if (a0 === 'ppp') { return a1.time({width: 'long'}); } return a1.time({width: 'full'}); }, P: P}; module.exports = exports.default; } function P(a0, a1) { // fn#26776, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3607:530, offset: 0x00f4d523, size: 251 bytes, params: 3, frame: 17 const r1 = a0.match(RegExp('(P+)(p+)?', '')) || []; const property = r1[1]; const property2 = r1[2]; if (property2) { return (property === 'P' ? a1.dateTime({width: 'short'}) : property === 'PP' ? a1.dateTime({width: 'medium'}) : property === 'PPP' ? a1.dateTime({width: 'long'}) : a1.dateTime({width: 'full'})).replace('{{date}}', dateLongFormatter(property, a1)).replace('{{time}}', p(property2, a1)); } return dateLongFormatter(a0, a1); }