// Module ID: 10269 // Function ID: 10270 // Name: playInAppMessageSound // Dependencies: [10245, 10270, 676, 1577, 10271, 2] // Exports: playInAppMessageSound // Module 10269 (playInAppMessageSound) import DesktopNotificationTypes from "DesktopNotificationTypes"; import { isInAppMessageSoundsEnabled as closure_3 } from "isInAppMessageSoundsEnabled"; import { InAppNotificationTypes } from "ME"; const require = arg1; const message1 = "message1"; let c6 = 0; const result = require("ME").fileFinishedImporting("modules/notifications/native/playInAppMessageSound.tsx"); export const playInAppMessageSound = function playInAppMessageSound(notification) { if (notification.type === InAppNotificationTypes.MESSAGE) { if (obj2.isMetaQuest()) { if (callback()) { if (!soundDisabled.isSoundDisabled(message1)) { const _Date = Date; const timestamp = Date.now(); if (timestamp - timestamp >= 1000) { tmp8(10271).playSound(tmp3, 0.4); const tmp8Result = tmp8(10271); } } tmp3 = message1; } } obj2 = require(1577) /* isMetaQuest */; tmp8 = require; } };