{"version":3,"sources":["jsdelivr-header.js","/npm/generator-colorme@0.0.0/app/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,KAAO,QAAQ,QACf,KAAO,QAAQ,QACf,OAAS,QAAQ,oBAKjB,iBAAmB,OAAO,QAAU,SAA0B,EAAM,EAAS,GAC/E,OAAO,WAAW,KAAK,MAAM,KAAM,WAEnC,KAAK,GAAG,OAAO,WAEb,IAAI,EAAQ,qBAAqB,OAAO,KACxC,qFAAqF,KAAK,KAD9E,uaAkBZ,QAAQ,IAAI,GACZ,QAAQ,IAAI,iFAAiF,KAC/F,IACA,KAAK,IAAM,KAAK,MAAM,KAAK,iBAAiB,KAAK,KAAK,UAAW,oBACnE,EAEA,KAAK,SAAS,iBAAkB,OAAO,WAAW,MAElD,iBAAiB,UAAU,OAAS,WAClC,IAAI,EAAK,KAAK,QAGV,EACJ,uCAEY,UAAU,IAFtB,0DAG4B,qBAAqB,OAAO,KAHxD,cAIW,KAAK,OAAS,IAAM,MAAM,OAAS,IAAM,KAAK,OAAS,UAAY,wBAAwB,OAAO,KAJ7G,qDAMA,iBAAiB,OACjB,UAAY,UAAY,OAPxB,YAQY,OAAO,IAAM,KAAO,MAAM,IAAM,OAE5C,QAAQ,IAAI,GAQZ,KAAK,OANS,CAAC,CACb,KAAM,WACN,QAAS,0DACT,QAAS,eAGU,SAAU,EAAK,GAClC,GAAI,EACF,OAAO,KAAK,KAAK,QAAS,GAE5B,KAAK,UAAU,SAAU,EAAM,UAC/B,GACF,EAAE,KAAK,MACT","file":"/npm/generator-colorme@0.0.0/app/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/generator-colorme@0.0.0/app/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","'use strict';\nvar util = require('util');\nvar path = require('path');\nvar yeoman = require('yeoman-generator');\n\n/**\n * Port of https://github.com/RichardBray/color-me-sass\n */\nvar ColormeGenerator = module.exports = function ColormeGenerator(args, options, config) {\n  yeoman.generators.Base.apply(this, arguments);\n\n  this.on('end', function () {\n    // this.installDependencies({ skipInstall: options['skip-install'] });\n    var guide = 'Colors Installed! '.yellow.bold +\n    '\\nYou should now place something like the following in your _base.scss or similar:'.blue.bold +\n    '\\n@import \"colors/reds\";' +\n    '\\n@import \"colors/peaches\";' +\n    '\\n@import \"colors/tans\";' +\n    '\\n@import \"colors/oranges\";' +\n    '\\n@import \"colors/ambers\";' +\n    '\\n@import \"colors/yellows\";' +\n    '\\n@import \"colors/limes\";' +\n    '\\n@import \"colors/greens\";' +\n    '\\n@import \"colors/turquoise\";' +\n    '\\n@import \"colors/blues\";' +\n    '\\n@import \"colors/purples\";' +\n    '\\n@import \"colors/pinks\";' +\n    '\\n@import \"colors/browns\";' +\n    '\\n@import \"colors/whites\";' +\n    '\\n@import \"colors/grays\";' +\n    '\\n@import \"colors/bootstrap\";\\n';\n    console.log(guide);\n    console.log('But please do remove any extra @imports once you have determined color scheme!'.blue);\n  });\n  this.pkg = JSON.parse(this.readFileAsString(path.join(__dirname, '../package.json')));\n};\n\nutil.inherits(ColormeGenerator, yeoman.generators.Base);\n\nColormeGenerator.prototype.askFor = function askFor() {\n  var cb = this.async();\n\n  // welcome message\n  var welcome =\n  '\\n     _-----_' +\n  '\\n    |       |' +\n  '\\n    |' + '--(o)--'.red + '|   .--------------------------.' +\n  '\\n   `---------´  |    ' + 'Welcome to Yeoman,'.yellow.bold + '    |' +\n  '\\n    ' + '( '.yellow + '_' + '´U`'.yellow + '_' + ' )'.yellow + '   |   ' + 'ladies and gentlemen!'.yellow.bold + '  |' +\n  '\\n    /___A___\\\\   \\'__________________________\\'' +\n  '\\n     |  ~  |'.yellow +\n  '\\n   __' + '\\'.___.\\''.yellow + '__' +\n  '\\n ´   ' + '`  |'.red + '° ' + '´ Y'.red + ' `\\n';\n\n  console.log(welcome);\n\n  var prompts = [{\n    name: 'destPath',\n    message: 'Where would you like me to put the color-me-sass files?',\n    default: 'css/colors',\n  }];\n\n  this.prompt(prompts, function (err, props) {\n    if (err) {\n      return this.emit('error', err);\n    }\n    this.directory('colors', props.destPath);\n    cb();\n  }.bind(this));\n};\n"]}