{"version":3,"sources":["jsdelivr-header.js","/npm/component-css-stylus@0.0.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,KAAO,QAAQ,sBAClB,KAAO,QAAQ,QACf,EAAI,QAAQ,cAYb,OAAO,QAAU,SAAU,GAC1B,OAAO,WACN,OAAO,SAAS,IACf,EAAS,GAAU,MAEZ,GAAG,OAAO,SAAS,EAAK,GAC9B,IAAI,EAAU,EAAE,MAAM,GAGtB,OAFA,EAAQ,KAAO,KAAK,SAAS,EAAO,QAAQ,SAAU,KAAK,QAAQ,EAAO,QAAQ,WAClF,EAAQ,KAAO,EACR,KAAK,EACb,GACD,CACD,CACD","file":"/npm/component-css-stylus@0.0.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/component-css-stylus@0.0.2/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 ccss = require('node-component-css'),\n\tpath = require('path'),\n\t_ = require('underscore');\n\n/**\n * Returns a wrapped stylus function that adds component-css support.\n *\n * - Returns a function for stylus to use\n * - This function uses the `end` event, and runs autoprefixer on\n *   the css, applying any arguments if present\n *   \n * @return {Function} - stylus plugin function\n */\n\nmodule.exports = function (config) {\n\treturn function() {\n\t\treturn function(stylus){\n\t\t\tstylus = stylus || this;\n\n\t\t\tstylus.on('end', function(err, css){\n\t\t\t\tvar options = _.clone(config);\n\t\t\t\toptions.name = path.basename(stylus.options.filename, path.extname(stylus.options.filename));\n\t\t\t\toptions.data = css;\n\t\t\t\treturn ccss(options);\n\t\t\t});\n\t\t};\n\t};\n};"]}