/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/citationstyles@0.0.3-228dee2/csl.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var fs=require("fs-extra"),path=require("path"),async=require("async"),config=require("./config.json"),csl={},styles=[];config.mypath=module.filename,module.exports=csl,csl.list=function(e){if(!styles.length)return e(new Error("No styles found!"));e(null,styles)},function(){var e=path.resolve(path.join(config.mypath,".."),config.source.independent),n=fs.readdirSync(e);n||callback(err||new Error("No files found!")),n.forEach((function(e){if(path.extname(e)===config.ext){var n={id:e.replace(config.ext,""),path:path.resolve(config.mypath,"..",config.source.independent,e)};styles.push(n)}}))}();
//# sourceMappingURL=/sm/d7316404e475d7ccb6d303cc98df2ef7c80a36bbab399657e20d7f98c535e504.map