This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,29 +1,35 @@
/* Metro module 10930; source: modules/notifications/native/playInAppMessageSound.tsx; dependencies: [10907, 10931, 661, 1581, 10756, 2] */
import NotificationSettingsStore from '../../../stores/NotificationSettingsStore.tsx'; /* Metro dependency 10907 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as InAppMessageSoundsStoreModule from './InAppMessageSoundsStore.tsx'; /* Metro dependency 10931 */
function _fun83741(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83741, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11116:6, offset: 0x01f266fe, size: 162 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const notificationSettingsStore = importDefault(10907) /* metro dependency 10907: NotificationSettingsStore */;
const env0_3 = (require(10931) /* metro dependency 10931: InAppMessageSoundsStore */).isInAppMessageSoundsEnabled;
const env0_4 = (require(661) /* metro dependency 661: Constants */).InAppNotificationTypes;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/notifications/native/playInAppMessageSound.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/notifications/native/playInAppMessageSound.tsx');
exports.playInAppMessageSound = playInAppMessageSound;
}
function playInAppMessageSound({type}) { // fn#83742, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11116:306, offset: 0x01f267a0, size: 181 bytes, params: 2, frame: 15
var moduleValue;
const MESSAGE = InAppNotificationTypes.MESSAGE;
if (type === MESSAGE) {
moduleValue = require(1581) /* metro dependency 1581: MetaQuestUtilsAndroid */;
if (moduleValue.isMetaQuest()) {
if (isInAppMessageSoundsEnabled()) {
if (!NotificationSettingsStore.isSoundDisabled('message1')) {
if (!(global.Date.now() - env0_5 < 1000)) {
(require(10756) /* metro dependency 10756: SoundUtils */).playSound('message1', 0.4);
function playInAppMessageSound({type}) { // fn#83742, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11116:306, offset: 0x01f267a0, size: 181 bytes, params: 2, frame: 15
var moduleValue;
var notificationSettingsStoreBinding;
const MESSAGE = InAppNotificationTypes.MESSAGE;
if (type === MESSAGE) {
moduleValue = require(1581) /* metro dependency 1581: MetaQuestUtilsAndroid */;
if (moduleValue.isMetaQuest()) {
if (isInAppMessageSoundsEnabled()) {
notificationSettingsStoreBinding = NotificationSettingsStore;
if (!notificationSettingsStoreBinding.isSoundDisabled('message1')) {
if (!(global.Date.now() - env0_5 < 1000)) {
(require(10756) /* metro dependency 10756: SoundUtils */).playSound('message1', 0.4);
}
}
}
}
}
}
}
global.__d(_fun83741, 10930, [10907, 10931, 661, 1581, 10756,
2]) /* metro module 10930, dependencies: [10907, 10931, 661, 1581, 10756, 2] */;