/* Metro module 16139; source: modules/clips/native/ClipsManager.tsx; dependencies: [6, 7, 15, 17, 18, 4281, 3857, 1244, 16140, 2] */ import ClassCallCheck from '../../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from '../../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */ import PossibleConstructorReturn from '../../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */ import Module00017 from '../../../by-id/module-00017.js'; /* Metro dependency 17 */ import Inherits from '../../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */ import ClipsManager3 from '../ClipsManager.tsx'; /* Metro dependency 16140 */ import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ClipsConstantsModule from '../ClipsConstants.tsx'; /* Metro dependency 4281 */ function _fun124624(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#124624, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16347:6, offset: 0x025bf6a0, size: 252 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ClipsManager3; value = _fun124628(value); value = new value(); (FileImportTrackerModule).fileFinishedImporting('modules/clips/native/ClipsManager.tsx'); exports.default = value; function _isNativeReflectConstruct_124625() { // fn#124625, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16347:179, offset: 0x025bf79c, size: 98 bytes, params: 1, frame: 18 var Boolean; var prototype; var valueOf; var call; var Reflect; var construct; var closure; var value; var error; try { Boolean = global.Boolean; prototype = Boolean.prototype; valueOf = prototype.valueOf; call = valueOf.call; Reflect = global.Reflect; construct = Reflect.construct; Boolean = global.Boolean; closure = function() { }; value = Reflect.apply(construct, Reflect, [Boolean, [], closure]); value = Reflect.apply(call, valueOf, [value]); var result = !value; } catch (error) { } return (_isNativeReflectConstruct_124625_isNativeReflectConstruct = function() { return !!result; })(); } function _fun124628(a0) { // fn#124628, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16347:378, offset: 0x025bf7fe, size: 205 bytes, params: 2, frame: 16 const ClipsManager2 = ClipsManager; Inherits(ClipsManager2, a0); return CreateClass(ClipsManager2, [{key: 'showClipsToast', value: function() { var defaultImport = importDefault(dependencyMap[6]); var object = {key: 'CLIPS_IN_CALL_WARNING'}; object.content = require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t['d+41qJ']); object.toastDurationMs = CLIPS_TOAST_DURATION; defaultImport.open(object); }}, {key: 'applyNativeClipsSettings', value: function() { }}, {key: 'handleClipsInitOnToggleDetection', value: function() { }}, {key: 'handleClipsInitOnGamesChange', value: function() { }}, {key: 'fireClipsInitEvent', value: function() { }}, {key: 'handleStreamEnded', value: function() { }}]); function ClipsManager() { // fn#124629, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16347:390, offset: 0x00c7c82b, size: 113 bytes, params: 1, frame: 20 const value = environment.__proto__; env1_3(this, ClipsManager); const value3 = env1_6(ClipsManager); return env1_5(this, _isNativeReflectConstruct_124625() ? global.Reflect.construct(value3, arguments, env1_6(this).constructor) : value3.apply(this, arguments)); } } } global.__d(_fun124624, 16139, [6, 7, 15, 17, 18, 4281, 3857, 1244, 16140, 2]) /* metro module 16139, dependencies: [6, 7, 15, 17, 18, 4281, 3857, 1244, 16140, 2] */;