{"version":3,"sources":["jsdelivr-header.js","/npm/browserify-babel-istanbul@0.4.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,SAAW,QAAQ,kBACnB,QAAU,QAAQ,WAClB,UAAY,QAAQ,aAEpB,cAAgB,CAAC,qBAAsB,yBAA0B,aAAc,cAAe,aAElG,OAAO,QAAU,SAAS,EAAS,GAGjC,SAAS,EAAU,GACjB,IAAI,GAAmC,IAA1B,EAAQ,cAA0B,GAAK,cAGpD,IAFA,EAAS,EAAO,OAAO,EAAQ,QAAU,KAE9B,KAAK,UAAU,KAAK,KAAM,IACnC,OAAO,UAET,IAAI,EAAe,IAAK,EAAQ,cAAgB,UAAU,aAAa,EAAQ,oBAAsB,CAAC,GAElG,EAAO,GACX,OAAO,SAAQ,SAAS,GACtB,GAAQ,CACV,IAAG,WACD,IAAI,EAAO,KACX,EAAa,WAAW,EAAM,GAAM,SAAS,EAAK,GAC3C,EAGH,EAAK,KAAK,QAAS,GAFnB,EAAK,MAAM,GAIb,EAAK,MAAM,KACb,GACF,GACF,CAEA,GAAuB,iBA3BvB,EAAU,GAAW,CAAC,GA2BW,CAC/B,IAAI,EAAO,EAEX,OADA,EAAU,GAAgB,CAAC,EACpB,EAAU,EACnB,CAEA,OAAO,CACT","file":"/npm/browserify-babel-istanbul@0.4.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/browserify-babel-istanbul@0.4.0/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 istanbul = require('babel-istanbul');\nvar through = require('through');\nvar minimatch = require('minimatch');\n\nvar defaultIgnore = ['**/node_modules/**', '**/bower_components/**', '**/test/**', '**/tests/**', '**/*.json'];\n\nmodule.exports = function(options, extraOptions) {\n  options = options || {};\n\n  function transform(file) {\n    var ignore = options.defaultIgnore === false ? [] : defaultIgnore;\n    ignore = ignore.concat(options.ignore || []);\n\n    if (ignore.some(minimatch.bind(null, file)))\n      return through();\n\n    var instrumenter = new (options.instrumenter || istanbul).Instrumenter(options.instrumenterConfig || {});\n\n    var data = '';\n    return through(function(buf) {\n      data += buf;\n    }, function() {\n      var self = this;\n      instrumenter.instrument(data, file, function(err, code) {\n        if (!err) {\n          self.queue(code);\n        } else {\n          self.emit('error', err);\n        }\n        self.queue(null);\n      });\n    });\n  }\n\n  if (typeof options === 'string') {\n    var file = options;\n    options = extraOptions || {};\n    return transform(file);\n  }\n\n  return transform;\n};\n"]}