import { __commonJS } from "../../_virtual/rolldown_runtime.mjs";
import { require_call_bind_apply_helpers } from "../call-bind-apply-helpers/index.mjs";
import { require_get_intrinsic } from "../get-intrinsic/index.mjs";

//#region ../../node_modules/call-bound/index.js
var require_call_bound = /* @__PURE__ */ __commonJS({ "../../node_modules/call-bound/index.js": ((exports, module) => {
	var GetIntrinsic = require_get_intrinsic();
	var callBindBasic = require_call_bind_apply_helpers();
	/** @type {(thisArg: string, searchString: string, position?: number) => number} */
	var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
	/** @type {import('.')} */
	module.exports = function callBoundIntrinsic(name, allowMissing) {
		var intrinsic = GetIntrinsic(name, !!allowMissing);
		if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) return callBindBasic([intrinsic]);
		return intrinsic;
	};
}) });

//#endregion
export default require_call_bound();

export { require_call_bound };
//# sourceMappingURL=index.mjs.map