/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/react-native-responsys@1.1.87/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
import{NativeModules,DeviceEventEmitter,NativeEventEmitter,Platform}from"react-native";const eventsMap={notification:"messaging_message_received",pushiolistener:"registerPushIOListener",customizeux:"PIORsysIAMHyperlinkListener",message:"PIOMCMessageListener",richmessage:"PIOMCRichContentListener",pushnotification:""},{Responsys:Responsys}=NativeModules;Responsys.onMessage=(e,s)=>{const t=eventsMap[e],n=new NativeEventEmitter(Responsys);if(!t)throw new Error("Invalid event");return n.addListener(t,s)};export default Responsys;
//# sourceMappingURL=/sm/e388011c1f76441662a165f3b43ef14e515090cf4b91cebe485b856f0e445a18.map