{"version":3,"sources":["jsdelivr-header.js","/npm/hapi-devine-autoload@2.0.1/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,aAAe,QAAQ,sBACvB,gBAAkB,QAAQ,yBAEhC,OAAO,QAAQ,SAAW,CAAC,EAAQ,EAAS,KAE1C,MACE,KAAM,EAAC,QACP,EAAU,GAAE,cACZ,EAAgB,CAAC,EAAC,IAClB,GAAM,GACJ,EAEA,GAAK,QAAQ,IAAI,IAErB,aAAa,CAAC,IAAK,EAAS,OAAQ,EAAG,QAAS,IAC7C,MAAK,GAAW,gBAAgB,EAAS,EAAQ,KACjD,MAAK,KACA,GAAK,QAAQ,IAAI,IACd,MACP,EAIN,OAAO,QAAQ,SAAS,WAAa,CACnC,IAAK,QAAQ","file":"/npm/hapi-devine-autoload@2.0.1/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/hapi-devine-autoload@2.0.1/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","const buildPlugins = require(`./lib/buildPlugins`);\nconst registerPlugins = require(`./lib/registerPlugins`);\n\nmodule.exports.register = (server, options, next) => {\n\n  const {\n    path: p,\n    plugins = [],\n    pluginOptions = {},\n    log = true\n  } = options;\n\n  if (log) console.log(``);\n\n  buildPlugins({arr: plugins, folder: p, options: pluginOptions})\n    .then(plugins => registerPlugins(plugins, server, log))\n    .then(() => {\n      if (log) console.log(``);\n      return next();\n    });\n\n};\n\nmodule.exports.register.attributes = {\n  pkg: require(`./package.json`)\n};\n"]}