{"version":3,"sources":["jsdelivr-header.js","/npm/custom-function@2.0.0/cjs/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,MAAM,eAAC,gBAAkB,OAQzB,SAAS,eAAe,GACtB,OAAO,eAAe,aAAe,UACvC,CACA,OAAO,QAAU,eAEjB,eAAe,UAAY,SAAS","file":"/npm/custom-function@2.0.0/cjs/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/custom-function@2.0.0/cjs/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict';\nconst {setPrototypeOf} = Object;\n\n/**\n * Given a `class Test extends CustomFunction {}` a `new Test(() => {})`\n * will returns the provided callback as `instanceof Test`.\n * @param {function} fn the callback that will inherit class methods.\n * @returns {function} the same, yet upgraded, `fn` callback.\n */\nfunction CustomFunction(fn) {\n  return setPrototypeOf(fn, new.target.prototype);\n}\nmodule.exports = CustomFunction\n\nCustomFunction.prototype = Function.prototype;\n"]}