{"version":3,"sources":["jsdelivr-header.js","/npm/@dashdoc/react-native-system-sounds@1.1.1/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNS,cAAe,aAAgB,sBAC/B,gBAAiB,gBAAmB,cAC7C,MAAQ,eAAgB,4BAA+B,cACvD,MAAM,eACF,uBAAyB,gBACzB,mBAAqB,YACrB,aAAe,CACX,SAAU,SAAS,OAAO,CACtB,IAAK,YAAY,mBACjB,QAAS,gBAAgB,iBAE7B,SAAU,SAAS,OAAO,CACtB,IAAK,YAAY,gBACjB,QAAS,gBAAgB,iBAGjC,WAAO,CAAK,GACY,YAAhB,SAAS,IACT,2BAA2B,kBAE/B,2BAA2B,gBAAgB,EAC/C,CACA,WAAO,CAAK,EAAU,KAAK,MAAM,UAC7B,KAAK,KAAK,EACd,iBAEW","file":"/npm/@dashdoc/react-native-system-sounds@1.1.1/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@dashdoc/react-native-system-sounds@1.1.1/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { NativeModules, Platform } from \"react-native\";\nimport { AndroidSoundIDs, iOSSoundIDs } from \"./constants\";\nconst { RNSystemSounds: RNSystemSoundsNativeModule } = NativeModules;\nclass RNSystemSounds {\n    static AndroidSoundIDs = AndroidSoundIDs;\n    static iOSSoundIDs = iOSSoundIDs;\n    static Beeps = {\n        Positive: Platform.select({\n            ios: iOSSoundIDs.Headset_AnswerCall,\n            android: AndroidSoundIDs.TONE_PROP_BEEP,\n        }),\n        Negative: Platform.select({\n            ios: iOSSoundIDs.Headset_EndCall,\n            android: AndroidSoundIDs.TONE_PROP_ACK,\n        }),\n    };\n    static play(soundID) {\n        if (Platform.OS === \"android\") {\n            RNSystemSoundsNativeModule.stopSystemSound();\n        }\n        RNSystemSoundsNativeModule.playSystemSound(soundID);\n    }\n    static beep(soundID = this.Beeps.Positive) {\n        this.play(soundID);\n    }\n}\nexport default RNSystemSounds;\n"]}