Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,58 @@
|
||||
/* Metro module 16262; source: modules/headless_tasks/android/MuteAction.tsx; dependencies: [670, 16260, 3738, 6613, 6610, 2] */
|
||||
function _fun125708(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125708, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16470:6, offset: 0x025e18b5, size: 92 bytes, params: 8, frame: 13
|
||||
let env0_0 = require;
|
||||
const env0_3 = (require(670) /* metro dependency 670: UserSettingsConstants */).MuteUntilSeconds;
|
||||
module.exports = function(a0) {
|
||||
var env0_0 = a0;
|
||||
var Promise = global.Promise;
|
||||
var value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
var value2 = new Promise(_fun125710);
|
||||
return value2 instanceof Object ? value2 : value;
|
||||
};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/headless_tasks/android/MuteAction.tsx');
|
||||
}
|
||||
|
||||
function exports_125709(a0) { // fn#125709, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16470:84, offset: 0x025e1911, size: 46 bytes, params: 2, frame: 11
|
||||
const env0_0 = a0;
|
||||
const Promise = global.Promise;
|
||||
const value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
const promise = new Promise(_fun125710);
|
||||
return promise instanceof Object ? promise : value;
|
||||
}
|
||||
|
||||
function _fun125710(a0) { // fn#125710, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16470:100, offset: 0x025e193f, size: 54 bytes, params: 2, frame: 12
|
||||
var environment;
|
||||
const env0_0 = a0;
|
||||
const value = environment.__proto__;
|
||||
(importDefault(16260) /* metro dependency 16260: HeadlessTaskUtils */).awaitStorage(_fun125711);
|
||||
}
|
||||
|
||||
function _fun125711() { // fn#125711, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16470:126, offset: 0x025e1975, size: 241 bytes, params: 1, frame: 23
|
||||
var r10;
|
||||
var value3;
|
||||
var value4;
|
||||
var add;
|
||||
let muteTime = env1_0.muteTime;
|
||||
const value2 = null;
|
||||
if (muteTime === -1) {
|
||||
r10 = value2;
|
||||
} else {
|
||||
value3 = environment.__proto__.__proto__;
|
||||
value4 = (importDefault(3738) /* metro dependency 3738 */)();
|
||||
add = value4.add;
|
||||
muteTime = env1_0.muteTime;
|
||||
r10 = Reflect.apply(add, value4, [value2 != muteTime ? muteTime : MuteUntilSeconds.HOURS_1,
|
||||
'second']).toISOString();
|
||||
}
|
||||
const defaultImport = importDefault(6613) /* metro dependency 6613: NotificationSettingsModalActionCreators */;
|
||||
const updateChannelOverrideSettings = defaultImport.updateChannelOverrideSettings;
|
||||
const {guildId, channelId} = env1_0;
|
||||
const object2 = {muted: true};
|
||||
const HOURS_1 = MuteUntilSeconds.HOURS_1;
|
||||
object2.mute_config = {selected_time_window: HOURS_1, end_time: r10};
|
||||
const NotificationLabels = (require(6610) /* metro dependency 6610: NotificationSettingsUtils */).NotificationLabels;
|
||||
const Muted = NotificationLabels.Muted;
|
||||
Reflect.apply(updateChannelOverrideSettings, defaultImport, [guildId, channelId, object2, Muted]);
|
||||
env0_0(true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user