UNPKG

watermark-js-plus

Version:
23 lines (17 loc) 734 B
import { __require as requireFunctionBindNative } from './function-bind-native.js'; var functionApply; var hasRequiredFunctionApply; function requireFunctionApply () { if (hasRequiredFunctionApply) return functionApply; hasRequiredFunctionApply = 1; var NATIVE_BIND = requireFunctionBindNative(); var FunctionPrototype = Function.prototype; var apply = FunctionPrototype.apply; var call = FunctionPrototype.call; // eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { return call.apply(apply, arguments); }); return functionApply; } export { requireFunctionApply as __require };