'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var getPrototypeOf = require('./getPrototypeOf.cjs');
var isNativeReflectConstruct = require('./isNativeReflectConstruct.cjs');
var possibleConstructorReturn = require('./possibleConstructorReturn.cjs');

function _createSuper(t) {
  var r = isNativeReflectConstruct.default();
  return function () {
    var e,
      o = getPrototypeOf.default(t);
    if (r) {
      var s = getPrototypeOf.default(this).constructor;
      e = Reflect.construct(o, arguments, s);
    } else e = o.apply(this, arguments);
    return possibleConstructorReturn.default(this, e);
  };
}

exports.default = _createSuper;
//# sourceMappingURL=createSuper.cjs.map
