// Module ID: 221 // Function ID: 222 // Dependencies: [41, 42, 93, 95, 98, 133] // Module 221 import EventDefault from "Event" /* 133 */; import _classCallCheck_mod from "_classCallCheck" /* 41 */; import _createClass from "_createClass" /* 42 */; import _possibleConstructorReturn from "_possibleConstructorReturn" /* 93 */; import _getPrototypeOf from "_getPrototypeOf" /* 95 */; import _inherits from "_inherits" /* 98 */; 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) { } } let _classCallCheck = _classCallCheck_mod; class CloseEvent { constructor(arg0, arg1) { self = this; tmp = closure_0(this, CloseEvent); items = [, ]; items[0] = global; items[1] = arg1; tmp2 = c2; obj = c2(CloseEvent); tmp3 = closure_1; if (closure_3()) { tmp5 = globalThis; _Reflect = Reflect; constructResult = Reflect.construct(obj, items, tmp2(self).constructor); } else { constructResult = obj.apply(self, items); } tmp3Result = tmp3(self, constructResult); wasClean = undefined; if (arg1 != null) { wasClean = arg1.wasClean; } tmp3Result._wasClean = Boolean(wasClean); code = undefined; if (arg1 != null) { code = arg1.code; } tmp9 = Number(code) || 0; tmp3Result._code = tmp9; reason = undefined; if (arg1 != null) { reason = arg1.reason; } str = ""; if (null != reason) { _String = String; str = String(arg1.reason); } tmp3Result._reason = str; return tmp3Result; } } _classCallCheck = CloseEvent; _inherits(CloseEvent, EventDefault); let items = [ { key: "wasClean", get() { return this._wasClean; } }, { key: "code", get() { return this._code; } }, { key: "reason", get() { return this._reason; } } ]; export default _createClass(CloseEvent, items);