37 lines
1.8 KiB
TypeScript
37 lines
1.8 KiB
TypeScript
/* Metro module 3773; source: modules/guild_communication_disabled/CommunicationDisabledUtils.tsx; dependencies: [2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun28571(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#28571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3900:6, offset: 0x00f7dc16, size: 100 bytes, params: 8, frame: 17
|
|
const closure = function(a0) {
|
|
var r0;
|
|
var Date;
|
|
var value2;
|
|
var value3;
|
|
var value4;
|
|
var value = a0 != null;
|
|
if (value) {
|
|
Date = global.Date;
|
|
value2 = new Date(a0);
|
|
Date = global.Date;
|
|
value3 = Object.create(Date.prototype, {constructor: {value: Date}});
|
|
value4 = new Date();
|
|
value2 = value2 > (value4 instanceof Object ? value4 : value3);
|
|
r0 = value2;
|
|
} else {
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/guild_communication_disabled/CommunicationDisabledUtils.tsx');
|
|
exports.isCommunicationDisabled = closure;
|
|
exports.isMemberCommunicationDisabled = isMemberCommunicationDisabled;
|
|
function isMemberCommunicationDisabled(a0) { // fn#28573, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3900:348, offset: 0x00f7dcc5, size: 36 bytes, params: 2, frame: 13
|
|
return isCommunicationDisabled(a0?.communicationDisabledUntil);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun28571, 3773, [2]) /* metro module 3773, dependencies: [2] */;
|