// Metro module 220 (f221). import _classCallCheck from "./_classCallCheck"; import _createClass from "./_createClass"; import _possibleConstructorReturn from "./_possibleConstructorReturn"; import _getPrototypeOf from "./_getPrototypeOf"; import _inherits from "./_inherits"; import Event2 from "./Event"; let MessageEvent; let env237 = {}; env237[3] = function _isNativeReflectConstruct() { let c12208_0; try { c12208_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); } catch ($e) {} const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() { return !!c12208_0; }; env237[3] = _isNativeReflectConstruct2; return _isNativeReflectConstruct2(); }; MessageEvent = function MessageEvent(a0, a1) { _classCallCheck(this, MessageEvent); const r11 = [a0, a1]; const r10 = _getPrototypeOf(MessageEvent); const r24 = _possibleConstructorReturn(this, (0, env237[3])() ? Reflect.construct(r10, r11, _getPrototypeOf(this).constructor) : r10.apply(this, r11)); r24._data = a1?.data; const r27 = String; let r29 = a1?.origin; if (r29 == null) { r29 = ""; } r24._origin = r27(r29); const r31 = String; let r33 = a1?.lastEventId; if (r33 == null) { r33 = ""; } r24._lastEventId = r31(r33); return r24; }; _inherits(MessageEvent, Event2); export default _createClass(MessageEvent, [{ key: "data", get: function get() { return this._data; } }, { key: "origin", get: function get() { return this._origin; } }, { key: "lastEventId", get: function get() { return this._lastEventId; } }]);