{"version":3,"sources":["jsdelivr-header.js","/npm/clone-function@1.0.6/src/clone-function.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACCA,aAQA,SAAS,cAAc,MACnB,IAAI,IAAK,IACT,IACI,IAAM,KAAK,WAEP,IADA,kBAAkB,KAAK,KACjB,KAEA,KAAK,sBAAwB,IAAM,QAEjD,CAAE,MAAO,GACL,MAAM,IAAI,MAAM,EAAE,QAAU,WAAa,IAC7C,CACA,OAAO,GACX,CACA,OAAO,QAAU","file":"/npm/clone-function@1.0.6/src/clone-function.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/clone-function@1.0.6/src/clone-function.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/*\r\nLicense gpl-3.0 http://www.gnu.org/licenses/gpl-3.0-standalone.html\r\n*/\r\n/*jslint\r\n    evil: true,\r\n    node: true\r\n*/\r\n'use strict';\r\n/**\r\n * Clones non native JavaScript functions, or references native functions.\r\n * @author <a href=\"mailto:matthewkastor@gmail.com\">Matthew Kastor</a>\r\n * @param {Function} func The function to clone.\r\n * @returns {Function} Returns a clone of the non native function, or a\r\n *  reference to the native function.\r\n */\r\nfunction cloneFunction(func) {\r\n    var out, str;\r\n    try {\r\n        str = func.toString();\r\n        if (/\\[native code\\]/.test(str)) {\r\n            out = func;\r\n        } else {\r\n            out = eval('(function(){return ' + str + '}());');\r\n        }\r\n    } catch (e) {\r\n        throw new Error(e.message + '\\r\\n\\r\\n' + str);\r\n    }\r\n    return out;\r\n}\r\nmodule.exports = cloneFunction;"]}