import { __module as callBind } from "../../_virtual/index11.js";
import { s as setFunctionLength } from "../set-function-length/index.js";
import { e as esDefineProperty } from "../es-define-property/index.js";
import { c as callBindApplyHelpers } from "../call-bind-apply-helpers/index.js";
import { a as applyBind } from "../call-bind-apply-helpers/applyBind.js";
(function(module) {
  var setFunctionLength$1 = setFunctionLength;
  var $defineProperty = esDefineProperty;
  var callBindBasic = callBindApplyHelpers;
  var applyBind$1 = applyBind;
  module.exports = function callBind2(originalFunction) {
    var func = callBindBasic(arguments);
    var adjustedLength = originalFunction.length - (arguments.length - 1);
    return setFunctionLength$1(
      func,
      1 + (adjustedLength > 0 ? adjustedLength : 0),
      true
    );
  };
  if ($defineProperty) {
    $defineProperty(module.exports, "apply", { value: applyBind$1 });
  } else {
    module.exports.apply = applyBind$1;
  }
})(callBind);
var callBindExports = callBind.exports;
export {
  callBindExports as c
};
//# sourceMappingURL=index.js.map
