// Module ID: 92 // Function ID: 93 // Dependencies: [41, 42, 93, 95, 96, 98, 46, 89] // Module 92 import EventEmitterDefault from "EventEmitter" /* 89 */; import _classCallCheck from "_classCallCheck" /* 41 */; import _createClass from "_createClass" /* 42 */; import c3 from "_possibleConstructorReturn" /* 93 */; import _getPrototypeOf from "_getPrototypeOf" /* 95 */; import _get from "_get" /* 96 */; import _inherits from "_inherits" /* 98 */; let RCTDeviceEventEmitterImpl = arg1; function _isNativeReflectConstruct() { try { const _Boolean = Boolean; const call = valueOf.call; const _Reflect = Reflect; const _Boolean2 = Boolean; if (typeof call === "unknown") { let callResult = valueOf(); } else { callResult = call(constructResult); } closure_0 = !callResult; _isNativeReflectConstruct = function _isNativeReflectConstruct() { return closure_0; }; return _isNativeReflectConstruct(); } catch (err) { } } class RCTDeviceEventEmitterImpl { constructor() { self = this; tmp = c2(this, RCTDeviceEventEmitterImpl); tmp2 = closure_4; obj = closure_4(RCTDeviceEventEmitterImpl); tmp3 = closure_3; if (metroRequire()) { tmp7 = globalThis; _Reflect = Reflect; tmp8 = arguments; constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor); } else { tmp4 = arguments; tmp5 = arguments; constructResult = obj(...arguments); } return tmp3(self, constructResult); } } _inherits(RCTDeviceEventEmitterImpl, EventEmitterDefault); const entry = { key: "emit", value: function emit(arg0) { RCTDeviceEventEmitterImpl = arg0; const substr = [...arguments].slice(); RCTDeviceEventEmitterImpl(46).beginEvent(() => "RCTDeviceEventEmitter.emit#" + closure_0); try { const self = this; const items = [arg0]; HermesBuiltin.arraySpread(substr, 1); !(function _superPropGet(RCTDeviceEventEmitterImpl, emit, arg2, arg3) { closure_0 = arg2; let prototype = RCTDeviceEventEmitterImpl; if (1) { prototype = RCTDeviceEventEmitterImpl.prototype; } const tmpResult = _get(_getPrototypeOf(prototype), "emit", arg2); closure_1 = tmpResult; let fn = tmpResult; if (2) { fn = tmpResult; if (typeof tmpResult === "function") { fn = (arg0) => closure_1.apply(closure_0, arg0); } } return fn; })(RCTDeviceEventEmitterImpl, "emit", this, 3)(items); const tmp9 = (function _superPropGet(RCTDeviceEventEmitterImpl, emit, arg2, arg3) { closure_0 = arg2; let prototype = RCTDeviceEventEmitterImpl; if (1) { prototype = RCTDeviceEventEmitterImpl.prototype; } const tmpResult = _get(_getPrototypeOf(prototype), "emit", arg2); closure_1 = tmpResult; let fn = tmpResult; if (2) { fn = tmpResult; if (typeof tmpResult === "function") { fn = (arg0) => closure_1.apply(closure_0, arg0); } } return fn; })(RCTDeviceEventEmitterImpl, "emit", this, 3); RCTDeviceEventEmitterImpl(46).endEvent(); } catch (tmp15) { tmp3(tmp[6]).endEvent(); throw tmp15; } } }; let items = [entry]; const tmp5 = new _createClass(RCTDeviceEventEmitterImpl, items)(); Object.defineProperty(global, "__rctDeviceEventEmitter", { configurable: true, value: tmp5 }); export default tmp5;