{"version":3,"sources":["jsdelivr-header.js","/npm/jsfuse@0.9.12/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,GAAK,QAAQ,MACf,KAAO,QAAQ,QACf,IACE,4GAKF,QACE,wBAEJ,OAAO,QAAU,SAAS,EAAQ,EAAM,EAAS,GAC/C,IAAI,EAAO,GAAG,aAAa,EAAM,SAC7B,EAAO,KAAK,QAAQ,GAYxB,OAXK,IAAS,EAAU,CAAC,GAGpB,IAAO,EAAQ,GAEpB,EAAO,EAAK,QAAQ,+BAA+B,SAAU,EAAG,GAC9D,IAAI,EAAQ,KAAK,KAAK,EAAM,EAAa,OACrC,EAAW,EAAO,EAAO,EAAS,EAAM,GAC5C,OAAO,IAAI,QAAQ,MAAO,EAC5B,IAEc,IAAV,GAAgB,EAAQ,KAGnB,EAFA,QAAQ,QAAQ,MAAO,EAGlC","file":"/npm/jsfuse@0.9.12/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/jsfuse@0.9.12/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","var Fs = require('fs'),\n  Path = require('path'),\n  tpl =\n    \"(function(){\"+\n      \"var module={exports:{}},exports=module.exports;\"+\n      \"(function(){...})();\"+\n      \"return module.exports;\"+\n    \"}())\",\n  wrapper =\n    \"(function(){\\n...}())\";\n\nmodule.exports = function jsfuse (file, options, depth) {\n  var data = Fs.readFileSync(file, 'utf-8');\n  var path = Path.dirname(file);\n  if (!options) options = {};\n\n  // first run\n  if (!depth) depth = 0;\n\n  data = data.replace(/require\\(['\"](\\..*?)['\"]\\)/g, function (e, modulepath) {\n    var fname = Path.join(path, modulepath + '.js');\n    var contents = jsfuse(fname, options, depth+1);\n    return tpl.replace('...', contents);\n  });\n\n  if (depth === 0 && !options.bare)\n    return wrapper.replace('...', data);\n  else\n    return data;\n};\n"]}