This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
// Metro module 221 (f222).
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 CloseEvent;
let env239 = {};
env239[3] = function _isNativeReflectConstruct() {
let c12209_0;
try {
c12209_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
} catch ($e) {}
const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() {
return !!c12209_0;
};
env239[3] = _isNativeReflectConstruct2;
return _isNativeReflectConstruct2();
};
CloseEvent = function CloseEvent(a0, a1) {
_classCallCheck(this, CloseEvent);
const r12 = [a0, a1];
const r11 = _getPrototypeOf(CloseEvent);
const r25 = _possibleConstructorReturn(this, (0, env239[3])() ? Reflect.construct(r11, r12, _getPrototypeOf(this).constructor) : r11.apply(this, r12));
r25._wasClean = Boolean(a1?.wasClean);
r25._code = Number(a1?.code) || 0;
r25._reason = a1?.reason != null ? String(a1.reason) : "";
return r25;
};
_inherits(CloseEvent, Event2);
export default _createClass(CloseEvent, [{
key: "wasClean",
get: function get() {
return this._wasClean;
}
}, {
key: "code",
get: function get() {
return this._code;
}
}, {
key: "reason",
get: function get() {
return this._reason;
}
}]);