System.register(["__unresolved_0", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7"], function (_export, _context) {
  "use strict";

  var _req, _req2, _req3, _req4, _req5, _req6, _req7, _loader, _cjsExports, __cjsMetaURL;

  _export("default", void 0);

  return {
    setters: [function (_unresolved_) {
      _req = _unresolved_.__cjsMetaURL;
    }, function (_unresolved_2) {
      _req2 = _unresolved_2.__cjsMetaURL;
    }, function (_unresolved_3) {
      _req3 = _unresolved_3.__cjsMetaURL;
    }, function (_unresolved_4) {
      _req4 = _unresolved_4.__cjsMetaURL;
    }, function (_unresolved_5) {
      _req5 = _unresolved_5.__cjsMetaURL;
    }, function (_unresolved_6) {
      _req6 = _unresolved_6.__cjsMetaURL;
    }, function (_unresolved_7) {
      _req7 = _unresolved_7.__cjsMetaURL;
    }, function (_unresolved_8) {
      _loader = _unresolved_8.default;
    }],
    execute: function () {
      _loader.define(_context.meta.url, function (exports, _require, module, __filename, __dirname) {
        var require = _loader.createRequireWithReqMap({
          "../modules/es.regexp.exec": _req,
          "../internals/export": _req2,
          "../internals/global": _req3,
          "../internals/function-call": _req4,
          "../internals/function-uncurry-this": _req5,
          "../internals/is-callable": _req6,
          "../internals/is-object": _req7
        }, _require);

        (function () {
          // TODO: Remove from `core-js@4` since it's moved to entry points
          require('../modules/es.regexp.exec');

          var $ = require('../internals/export');

          var global = require('../internals/global');

          var call = require('../internals/function-call');

          var uncurryThis = require('../internals/function-uncurry-this');

          var isCallable = require('../internals/is-callable');

          var isObject = require('../internals/is-object');

          var DELEGATES_TO_EXEC = function () {
            var execCalled = false;
            var re = /[ac]/;

            re.exec = function () {
              execCalled = true;
              return /./.exec.apply(this, arguments);
            };

            return re.test('abc') === true && execCalled;
          }();

          var Error = global.Error;
          var un$Test = uncurryThis(/./.test); // `RegExp.prototype.test` method
          // https://tc39.es/ecma262/#sec-regexp.prototype.test

          $({
            target: 'RegExp',
            proto: true,
            forced: !DELEGATES_TO_EXEC
          }, {
            test: function test(str) {
              var exec = this.exec;
              if (!isCallable(exec)) return un$Test(this, str);
              var result = call(exec, this, str);

              if (result !== null && !isObject(result)) {
                throw new Error('RegExp exec method returned something other than an Object or null');
              }

              return !!result;
            }
          });
        })();

        _export("default", _cjsExports = module.exports);
      });

      _export("__cjsMetaURL", __cjsMetaURL = _context.meta.url);
    }
  };
});
//# sourceMappingURL=es.regexp.test.js.map