var _Foo;
class Foo {
  static getSelf() {
    return this;
  }
  static test() {
    var _o$Foo, _o$Foo2, _o$Foo3, _deep$very$o, _deep$very$o$Foo, _deep$very$o2, _deep$very$o2$Foo, _deep$very$o3, _deep$very$o3$Foo, _o$Foo$self, _o$Foo$self$self, _ref, _ref$self, _ref2, _ref2$self, _self2, _self2$self, _o$Foo$self$getSelf, _babelHelpers$assertC, _ref3, _ref3$call, _ref4, _ref4$getSelf, _ref5, _ref5$getSelf, _ref5$getSelf$call, _ref6, _ref6$self, _babelHelpers$assertC2, _call, _call$self, _getSelf, _getSelf$self, _getSelf2, _getSelf2$self, _fn$Foo, _fn$Foo2, _fn$Foo3, _fnDeep$very$o, _fnDeep$very$o$Foo, _fnDeep$very$o2, _fnDeep$very$o2$Foo, _fnDeep$very$o3, _fnDeep$very$o3$Foo, _fn$Foo$self, _fn$Foo$self$self, _ref7, _ref7$self, _ref8, _ref8$self, _self3, _self3$self, _fn$Foo$self$getSelf, _babelHelpers$assertC3, _ref9, _ref9$call, _ref10, _ref10$getSelf, _ref11, _ref11$getSelf, _ref11$getSelf$call, _ref12, _ref12$self, _babelHelpers$assertC4, _call2, _call2$self, _getSelf3, _getSelf3$self, _getSelf4, _getSelf4$self;
    const o = { Foo };
    const deep = { very: { o } };
    function fn() {
      return o;
    }
    function fnDeep() {
      return deep;
    }
    _m._?.call(Foo);
    _m._?.call(Foo).toString;
    _m._?.call(Foo).toString();
    o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _o$Foo = o.Foo, _m)._?.call(_o$Foo);
    o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _o$Foo2 = o.Foo, _m)._?.call(_o$Foo2).toString;
    o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _o$Foo3 = o.Foo, _m)._?.call(_o$Foo3).toString();
    (_deep$very$o = deep?.very.o) === null || _deep$very$o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _deep$very$o$Foo = _deep$very$o.Foo, _m)._?.call(_deep$very$o$Foo);
    (_deep$very$o2 = deep?.very.o) === null || _deep$very$o2 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _deep$very$o2$Foo = _deep$very$o2.Foo, _m)._?.call(_deep$very$o2$Foo).toString;
    (_deep$very$o3 = deep?.very.o) === null || _deep$very$o3 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _deep$very$o3$Foo = _deep$very$o3.Foo, _m)._?.call(_deep$very$o3$Foo).toString();
    o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _o$Foo$self = babelHelpers.assertClassBrand(Foo, o.Foo, _self)._, _m)._?.call(_o$Foo$self);
    o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _o$Foo$self$self = babelHelpers.assertClassBrand(Foo, o.Foo, _self)._.self, _m)._?.call(_o$Foo$self$self);
    (_ref = o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, o.Foo, _self)._) === null || _ref === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref$self = _ref.self, _m)._?.call(_ref$self);
    (_ref2 = o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, o.Foo, _self)._.self) === null || _ref2 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref2$self = _ref2.self, _m)._?.call(_ref2$self);
    (_self2 = (o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, o.Foo, _self)._)?.self) === null || _self2 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _self2$self = _self2.self, _m)._?.call(_self2$self);
    o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _o$Foo$self$getSelf = babelHelpers.assertClassBrand(Foo, o.Foo, _self)._.getSelf(), _m)._?.call(_o$Foo$self$getSelf);
    (_ref3 = o === null || o === void 0 ? void 0 : (_babelHelpers$assertC = babelHelpers.assertClassBrand(Foo, o.Foo, _self)._).getSelf) === null || _ref3 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref3$call = _ref3.call(_babelHelpers$assertC), _m)._?.call(_ref3$call);
    (_ref4 = o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, o.Foo, _self)._) === null || _ref4 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref4$getSelf = _ref4.getSelf(), _m)._?.call(_ref4$getSelf);
    (_ref5$getSelf = (_ref5 = o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, o.Foo, _self)._)?.getSelf) === null || _ref5$getSelf === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref5$getSelf$call = _ref5$getSelf.call(_ref5), _m)._?.call(_ref5$getSelf$call);
    (_ref6 = o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, o.Foo, _self)._.getSelf()) === null || _ref6 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref6$self = _ref6.self, _m)._?.call(_ref6$self);
    (_call = (o === null || o === void 0 ? void 0 : (_babelHelpers$assertC2 = babelHelpers.assertClassBrand(Foo, o.Foo, _self)._).getSelf)?.call(_babelHelpers$assertC2)) === null || _call === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _call$self = _call.self, _m)._?.call(_call$self);
    (_getSelf = (o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, o.Foo, _self)._)?.getSelf()) === null || _getSelf === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _getSelf$self = _getSelf.self, _m)._?.call(_getSelf$self);
    (_getSelf2 = (o === null || o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, o.Foo, _self)._)?.getSelf?.()) === null || _getSelf2 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _getSelf2$self = _getSelf2.self, _m)._?.call(_getSelf2$self);
    fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _fn$Foo = fn().Foo, _m)._?.call(_fn$Foo);
    fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _fn$Foo2 = fn().Foo, _m)._?.call(_fn$Foo2).toString;
    fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _fn$Foo3 = fn().Foo, _m)._?.call(_fn$Foo3).toString();
    (_fnDeep$very$o = fnDeep?.().very.o) === null || _fnDeep$very$o === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _fnDeep$very$o$Foo = _fnDeep$very$o.Foo, _m)._?.call(_fnDeep$very$o$Foo);
    (_fnDeep$very$o2 = fnDeep?.().very.o) === null || _fnDeep$very$o2 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _fnDeep$very$o2$Foo = _fnDeep$very$o2.Foo, _m)._?.call(_fnDeep$very$o2$Foo).toString;
    (_fnDeep$very$o3 = fnDeep?.().very.o) === null || _fnDeep$very$o3 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _fnDeep$very$o3$Foo = _fnDeep$very$o3.Foo, _m)._?.call(_fnDeep$very$o3$Foo).toString();
    fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _fn$Foo$self = babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._, _m)._?.call(_fn$Foo$self);
    fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _fn$Foo$self$self = babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._.self, _m)._?.call(_fn$Foo$self$self);
    (_ref7 = fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._) === null || _ref7 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref7$self = _ref7.self, _m)._?.call(_ref7$self);
    (_ref8 = fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._.self) === null || _ref8 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref8$self = _ref8.self, _m)._?.call(_ref8$self);
    (_self3 = (fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._)?.self) === null || _self3 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _self3$self = _self3.self, _m)._?.call(_self3$self);
    fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _fn$Foo$self$getSelf = babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._.getSelf(), _m)._?.call(_fn$Foo$self$getSelf);
    (_ref9 = fn === null || fn === void 0 ? void 0 : (_babelHelpers$assertC3 = babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._).getSelf) === null || _ref9 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref9$call = _ref9.call(_babelHelpers$assertC3), _m)._?.call(_ref9$call);
    (_ref10 = fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._) === null || _ref10 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref10$getSelf = _ref10.getSelf(), _m)._?.call(_ref10$getSelf);
    (_ref11$getSelf = (_ref11 = fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._)?.getSelf) === null || _ref11$getSelf === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref11$getSelf$call = _ref11$getSelf.call(_ref11), _m)._?.call(_ref11$getSelf$call);
    (_ref12 = fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._.getSelf()) === null || _ref12 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _ref12$self = _ref12.self, _m)._?.call(_ref12$self);
    (_call2 = (fn === null || fn === void 0 ? void 0 : (_babelHelpers$assertC4 = babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._).getSelf)?.call(_babelHelpers$assertC4)) === null || _call2 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _call2$self = _call2.self, _m)._?.call(_call2$self);
    (_getSelf3 = (fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._)?.getSelf()) === null || _getSelf3 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _getSelf3$self = _getSelf3.self, _m)._?.call(_getSelf3$self);
    (_getSelf4 = (fn === null || fn === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, fn().Foo, _self)._)?.getSelf?.()) === null || _getSelf4 === void 0 ? void 0 : babelHelpers.assertClassBrand(Foo, _getSelf4$self = _getSelf4.self, _m)._?.call(_getSelf4$self);
  }
}
_Foo = Foo;
var _x = { _: 1 };
var _m = { _: function() {
  return babelHelpers.assertClassBrand(_Foo, this, _x)._;
} };
var _self = { _: _Foo };
babelHelpers.defineProperty(Foo, "self", _Foo);
Foo.test();