// Metro module 8124 (f8125). import * as _Module17 from "react-native"; import { create } from "../../../_bundle/Module644"; import { batchUpdates } from "../../../_bundle/Module705"; let c5159_3; const { NativeEventEmitter, NativeModules } = _Module17; let c5159_2 = create(() => ({ isMuted: false })); c5159_3 = new NativeEventEmitter(NativeModules.MediaPlayerManager); class MediaPlayerMuteManager { constructor() { return { __proto__: new.target.prototype, muteSubscription: void 0 }; } initialize() { this.muteSubscription = c5159_3.addListener("MediaPlayerMuteStateChanged", ({ isMuted }) => { batchUpdates(() => { c5159_2.setState({ isMuted }); }); }); } terminate() { const muteSubscription = this.muteSubscription; if (muteSubscription != null) { muteSubscription.remove(); } } } const prototype = MediaPlayerMuteManager.prototype; export default { __proto__: prototype, muteSubscription: void 0 }; export { c5159_2 as useMediaPlayerMutedStore };